1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
|
# 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.82"
name = "circular-buffer"
version = "1.0.0"
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"
[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.6"
[dev-dependencies.rand]
version = "0.8"
[features]
alloc = []
default = ["std"]
std = ["alloc"]
unstable = []
use_std = ["std"]
|