# 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 = "2021" rust-version = "1.65" name = "circular-buffer" version = "0.1.9" authors = ["Andrea Corbellini "] build = 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" [package.metadata.cargo-all-features] denylist = ["use_std"] skip_feature_sets = [[ "std", "alloc", ]] [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.3" features = ["html_reports"] [dev-dependencies.drop-tracker] version = "0.1.3" [dev-dependencies.futures-lite] version = "2.0" [dev-dependencies.rand] version = "0.8" [features] alloc = [] default = ["std"] std = ["alloc"] unstable = [] use_std = ["std"]