[[bench]]
name = "buf"
path = "benches/buf.rs"
[[bench]]
name = "bytes"
path = "benches/bytes.rs"
[[bench]]
name = "bytes_mut"
path = "benches/bytes_mut.rs"
[dependencies.serde]
default-features = false
features = ["alloc"]
optional = true
version = "1.0.60"
[dev-dependencies.serde_test]
version = "1.0"
[features]
default = ["std"]
std = []
[lib]
name = "bytes"
path = "src/lib.rs"
[package]
authors = ["Carl Lerche <me@carllerche.com>", "Sean McArthur <sean@seanmonstar.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["network-programming", "data-structures"]
description = "Types and traits for working with bytes"
edition = "2018"
keywords = ["buffers", "zero-copy", "io"]
license = "MIT"
name = "bytes"
readme = "README.md"
repository = "https://github.com/tokio-rs/bytes"
rust-version = "1.39"
version = "1.8.0"
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
[target."cfg(loom)".dev-dependencies.loom]
version = "0.7"
[[test]]
name = "test_buf"
path = "tests/test_buf.rs"
[[test]]
name = "test_buf_mut"
path = "tests/test_buf_mut.rs"
[[test]]
name = "test_bytes"
path = "tests/test_bytes.rs"
[[test]]
name = "test_bytes_odd_alloc"
path = "tests/test_bytes_odd_alloc.rs"
[[test]]
name = "test_bytes_vec_alloc"
path = "tests/test_bytes_vec_alloc.rs"
[[test]]
name = "test_chain"
path = "tests/test_chain.rs"
[[test]]
name = "test_debug"
path = "tests/test_debug.rs"
[[test]]
name = "test_iter"
path = "tests/test_iter.rs"
[[test]]
name = "test_reader"
path = "tests/test_reader.rs"
[[test]]
name = "test_serde"
path = "tests/test_serde.rs"
[[test]]
name = "test_take"
path = "tests/test_take.rs"