circular-buffer 1.2.1

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

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

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

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

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

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

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

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

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

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

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

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

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

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