-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
53 lines (43 loc) · 1.32 KB
/
Cargo.toml
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
[package]
name = "mutringbuf"
version = "0.4.2"
edition = "2021"
readme = "README.md"
authors = ["Skilfingr <[email protected]>"]
description = "A simple lock-free SPSC ring buffer, with in-place mutability."
repository = "https://github.com/Skilvingr/rust-mutringbuf"
license = "MIT OR Apache-2.0"
keywords = ["lock-free", "async", "ring", "circular", "buffer"]
categories = ["asynchronous", "concurrency", "data-structures", "no-std", "no-std::no-alloc"]
documentation = "https://docs.rs/mutringbuf"
[features]
default = ["alloc"]
alloc = []
async = []
[dependencies]
crossbeam-utils = { version = "0.8.21", default-features = false }
[dev-dependencies]
tokio-test = { version = "0.4.4" }
iai-callgrind = "0.14.0"
[target.'cfg(bench)'.dev-dependencies]
criterion = { version = "0.5.1", features = ["real_blackbox"] }
[target.'cfg(cpal)'.dev-dependencies]
cpal = { version = "0.15.3" }
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(bench)', 'cfg(cpal)'] }
[[bench]]
name = "bench_main"
path = "benches/criterion/bench_main.rs"
harness = false
[[bench]]
name = "bench_parts"
path = "benches/criterion/bench_parts.rs"
harness = false
[[bench]]
name = "bench_slices"
path = "benches/criterion/bench_slices.rs"
harness = false
[[bench]]
name = "iai_bench_base"
path = "benches/iai_benches/iai_base.rs"
harness = false