circularbuf 0.1.0

Rust fixed size circular (ring) buffer
Documentation
[dependencies.futures-io]
default-features = false
optional = true
version = "0.3"

[dependencies.tokio]
default-features = false
optional = true
version = "1"

[dev-dependencies.futures-util]
features = ["io"]
version = "0.3"

[dev-dependencies.tokio]
features = ["full"]
version = "1"

[features]
alloc = []
default = ["std"]
future = ["futures-io/std", "std"]
std = []
tokio = ["dep:tokio", "std"]

[lib]
name = "circularbuf"
path = "src/lib.rs"

[lints.rust]
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"

[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(all_tests)"]
level = "warn"
priority = 0

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["no-std", "data-structures"]
description = "Rust fixed size circular (ring) buffer"
documentation = "https://docs.rs/circularbuf"
edition = "2024"
homepage = "https://github.com/al8n/circularbuf"
keywords = ["circbuf", "ring"]
license = "MIT OR Apache-2.0"
name = "circularbuf"
readme = "README.md"
repository = "https://github.com/al8n/circularbuf"
rust-version = "1.85.0"
version = "0.1.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[[test]]
name = "test"
path = "tests/test.rs"