-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
54 lines (45 loc) · 1.12 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
54
[package]
name = "rtrb"
version = "0.3.1"
authors = [
"Stjepan Glavina <[email protected]>",
"Matthias Geier <[email protected]>",
]
repository = "https://github.com/mgeier/rtrb"
description = "A realtime-safe single-producer single-consumer ring buffer"
readme = "README.md"
categories = ["concurrency", "data-structures", "no-std"]
keywords = ["lock-free", "wait-free", "spsc", "queue"]
license = "MIT OR Apache-2.0"
edition = "2018"
rust-version = "1.38"
exclude = [
".*",
]
[features]
default = ["std"]
std = []
[dev-dependencies]
rand = "0.8"
criterion = "0.3"
# TODO: This is only needed for the doctests of cache_padded.rs! Is there a way to avoid this?
crossbeam-utils = { version = "0.8", default-features = false }
# aggressive optimization for benchmarks
[profile.bench]
lto = true
opt-level = 3
codegen-units = 1
[lib]
bench = false # Don't disturb criterion command line parsing
[[bench]]
name = "single_thread_single_byte"
harness = false
[[bench]]
name = "single_thread_two_bytes"
harness = false
[[bench]]
name = "single_thread_with_chunks"
harness = false
[[bench]]
name = "two_threads"
harness = false