| # 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.7.2" |
| authors = [ |
| "Carl Lerche <[email protected]>", |
| "Sean McArthur <[email protected]>", |
| ] |
| build = 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", |
| ] |
| |
| [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.serde] |
| version = "1.0.60" |
| features = ["alloc"] |
| optional = true |
| default-features = false |
| |
| [dev-dependencies.serde_test] |
| version = "1.0" |
| |
| [features] |
| default = ["std"] |
| std = [] |
| |
| [target."cfg(loom)".dev-dependencies.loom] |
| version = "0.7" |