[package] name = "bytes" # When releasing to crates.io: # - Update CHANGELOG.md. # - Create "v1.x.y" git tag. version = "1.9.0" edition = "2018" rust-version = "1.39" license = "MIT" authors = [ "Carl Lerche ", "Sean McArthur ", ] description = "Types and traits for working with bytes" repository = "https://github.com/tokio-rs/bytes" readme = "README.md" keywords = ["buffers", "zero-copy", "io"] categories = ["network-programming", "data-structures"] [features] default = ["std"] std = [] [dependencies] serde = { version = "1.0.60", optional = true, default-features = false, features = ["alloc"] } [dev-dependencies] serde_test = "1.0" [target.'cfg(loom)'.dev-dependencies] loom = "0.7" [package.metadata.docs.rs] rustdoc-args = ["--cfg", "docsrs"]