[package]
edition = "2021"
rust-version = "1.57"
name = "bytes-pool"
version = "1.0.2"
authors = ["Joshua Booth <joshua.n.booth@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Allocation-free sharing of bytes and strings using `Bytes` as storage"
readme = "README.md"
keywords = [
"buffers",
"zero-copy",
"string",
"bytes",
"bytestring",
]
categories = ["no-std"]
license = "MIT"
repository = "https://github.com/jnbooth/bytes-pool"
[features]
default = ["std"]
extra-platforms = ["bytes/extra-platforms"]
serde = [
"bytes/serde",
"bytestring/serde",
]
std = ["bytes/std"]
[lib]
name = "bytes_pool"
path = "src/lib.rs"
[dependencies.bytes]
version = "1.2"
default-features = false
[dependencies.bytestring]
version = "1.0"
[lints.clippy]
must_use_candidate = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1