134 lines
2.4 KiB
TOML
134 lines
2.4 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2018"
|
|
rust-version = "1.39"
|
|
name = "bytes"
|
|
version = "1.10.1"
|
|
authors = [
|
|
"Carl Lerche <me@carllerche.com>",
|
|
"Sean McArthur <sean@seanmonstar.com>",
|
|
]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Types and traits for working with bytes"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"buffers",
|
|
"zero-copy",
|
|
"io",
|
|
]
|
|
categories = [
|
|
"network-programming",
|
|
"data-structures",
|
|
]
|
|
license = "MIT"
|
|
repository = "https://github.com/tokio-rs/bytes"
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = []
|
|
|
|
[lib]
|
|
name = "bytes"
|
|
path = "src/lib.rs"
|
|
|
|
[[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"
|
|
|
|
[[bench]]
|
|
name = "buf"
|
|
path = "benches/buf.rs"
|
|
|
|
[[bench]]
|
|
name = "bytes"
|
|
path = "benches/bytes.rs"
|
|
|
|
[[bench]]
|
|
name = "bytes_mut"
|
|
path = "benches/bytes_mut.rs"
|
|
|
|
[dependencies.extra-platforms]
|
|
version = "1.3"
|
|
features = ["require-cas"]
|
|
optional = true
|
|
default-features = false
|
|
package = "portable-atomic"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.60"
|
|
features = ["alloc"]
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dev-dependencies.serde_test]
|
|
version = "1.0"
|
|
|
|
[target."cfg(loom)".dev-dependencies.loom]
|
|
version = "0.7"
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = ["cfg(loom)"]
|