| 1 |
[package] |
| 2 |
name = "buf-list" |
| 3 |
version = "1.1.2" |
| 4 |
edition = "2021" |
| 5 |
description = "A list of buffers that implements the bytes::Buf trait" |
| 6 |
categories = ["network-programming", "data-structures"] |
| 7 |
keywords = ["buffers", "zero-copy", "io"] |
| 8 |
license = "Apache-2.0" |
| 9 |
readme = "README.md" |
| 10 |
repository = "https://github.com/sunshowers-code/buf-list" |
| 11 |
rust-version = "1.70" |
| 12 |
|
| 13 |
[lints] |
| 14 |
rust.unexpected_cfgs = { level = "warn", check-cfg = ["cfg(doc_cfg)"] } |
| 15 |
|
| 16 |
[package.metadata.docs.rs] |
| 17 |
all-features = true |
| 18 |
rustdoc-args = ["--cfg=doc_cfg"] |
| 19 |
|
| 20 |
[dependencies] |
| 21 |
bytes = "1.3.0" |
| 22 |
futures-io-03 = { package = "futures-io", version = "0.3.25", optional = true } |
| 23 |
tokio = { version = "1.0.0", features = ["io-std"], optional = true } |
| 24 |
|
| 25 |
[dev-dependencies] |
| 26 |
anyhow = "1.0.70" |
| 27 |
dummy-waker = "1.1.0" |
| 28 |
futures = "0.3.25" |
| 29 |
proptest = "1.1.0" |
| 30 |
test-strategy = "0.3.0" |
| 31 |
tokio = { version = "1.0.0", features = ["io-std", "io-util", "macros", "rt"] } |
| 32 |
|
| 33 |
[features] |
| 34 |
futures03 = ["futures-io-03"] |
| 35 |
tokio1 = ["tokio"] |