1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2018" 14rust-version = "1.39" 15name = "bytes" 16version = "1.9.0" 17authors = [ 18 "Carl Lerche <[email protected]>", 19 "Sean McArthur <[email protected]>", 20] 21build = false 22autobins = false 23autoexamples = false 24autotests = false 25autobenches = false 26description = "Types and traits for working with bytes" 27readme = "README.md" 28keywords = [ 29 "buffers", 30 "zero-copy", 31 "io", 32] 33categories = [ 34 "network-programming", 35 "data-structures", 36] 37license = "MIT" 38repository = "https://github.com/tokio-rs/bytes" 39 40[package.metadata.docs.rs] 41rustdoc-args = [ 42 "--cfg", 43 "docsrs", 44] 45 46[lib] 47name = "bytes" 48path = "src/lib.rs" 49 50[[test]] 51name = "test_buf" 52path = "tests/test_buf.rs" 53 54[[test]] 55name = "test_buf_mut" 56path = "tests/test_buf_mut.rs" 57 58[[test]] 59name = "test_bytes" 60path = "tests/test_bytes.rs" 61 62[[test]] 63name = "test_bytes_odd_alloc" 64path = "tests/test_bytes_odd_alloc.rs" 65 66[[test]] 67name = "test_bytes_vec_alloc" 68path = "tests/test_bytes_vec_alloc.rs" 69 70[[test]] 71name = "test_chain" 72path = "tests/test_chain.rs" 73 74[[test]] 75name = "test_debug" 76path = "tests/test_debug.rs" 77 78[[test]] 79name = "test_iter" 80path = "tests/test_iter.rs" 81 82[[test]] 83name = "test_reader" 84path = "tests/test_reader.rs" 85 86[[test]] 87name = "test_serde" 88path = "tests/test_serde.rs" 89 90[[test]] 91name = "test_take" 92path = "tests/test_take.rs" 93 94[[bench]] 95name = "buf" 96path = "benches/buf.rs" 97 98[[bench]] 99name = "bytes" 100path = "benches/bytes.rs" 101 102[[bench]] 103name = "bytes_mut" 104path = "benches/bytes_mut.rs" 105 106[dependencies.serde] 107version = "1.0.60" 108features = ["alloc"] 109optional = true 110default-features = false 111 112[dev-dependencies.serde_test] 113version = "1.0" 114 115[features] 116default = ["std"] 117std = [] 118 119[target."cfg(loom)".dev-dependencies.loom] 120version = "0.7" 121