1[package] 2 3name = "bytes" 4# When releasing to crates.io: 5# - Update CHANGELOG.md. 6# - Create "v1.x.y" git tag. 7version = "1.1.0" 8license = "MIT" 9authors = [ 10 "Carl Lerche <me@carllerche.com>", 11 "Sean McArthur <sean@seanmonstar.com>", 12] 13description = "Types and traits for working with bytes" 14repository = "https://github.com/tokio-rs/bytes" 15readme = "README.md" 16keywords = ["buffers", "zero-copy", "io"] 17categories = ["network-programming", "data-structures"] 18edition = "2018" 19 20[features] 21default = ["std"] 22std = [] 23 24[dependencies] 25serde = { version = "1.0.60", optional = true, default-features = false, features = ["alloc"] } 26 27[dev-dependencies] 28serde_test = "1.0" 29 30[target.'cfg(loom)'.dev-dependencies] 31loom = "0.5" 32 33[package.metadata.docs.rs] 34rustdoc-args = ["--cfg", "docsrs"] 35