circular-buffer 2.0.0

Efficient circular buffer implementation
Documentation
# 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 = "2024"
rust-version = "1.93.0"
name = "circular-buffer"
version = "2.0.0"
authors = ["Andrea Corbellini <corbellini.andrea@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Efficient circular buffer implementation"
readme = "README.md"
keywords = [
    "circular-buffer",
    "buffer",
    "queue",
    "fifo",
]
categories = [
    "data-structures",
    "no-std",
]
license = "BSD-3-Clause"
repository = "https://github.com/andreacorbellini/rust-circular-buffer"

[package.metadata.docs.rs]
all-features = true

[features]
alloc = []
default = ["std"]
std = ["alloc"]

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

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

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

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

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

[[bench]]
name = "benchmark"
path = "benches/benchmark.rs"
harness = false

[dependencies.embedded-io]
version = "0.7.1"
optional = true
default-features = false

[dependencies.embedded-io-async]
version = "0.7.0"
optional = true
default-features = false

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.drop-tracker]
version = "0.2.0"

[dev-dependencies.futures-lite]
version = "2.6"

[dev-dependencies.rand]
version = "0.10.1"