1[package]
2name = "ringbuf"
3version = "0.3.3"
4authors = ["Alexey Gerasev <alexey.gerasev@gmail.com>"]
5edition = "2021"
6
7description = "Lock-free SPSC FIFO ring buffer with direct access to inner data"
8documentation = "https://docs.rs/ringbuf"
9homepage = "https://github.com/agerasev/ringbuf"
10repository = "https://github.com/agerasev/ringbuf.git"
11readme = "README.md"
12keywords = ["lock-free", "spsc", "ring-buffer", "rb", "fifo"]
13categories = ["concurrency", "data-structures", "no-std"]
14license = "MIT/Apache-2.0"
15
16[features]
17default = ["alloc", "std"]
18alloc = []
19std = ["alloc"]
20bench = []
21
22[dependencies]
23crossbeam-utils = { version = "0.8", default-features = false }
24
25[[example]]
26name = "simple"
27required-features = ["alloc"]
28
29[[example]]
30name = "overwrite"
31required-features = ["alloc"]
32
33[[example]]
34name = "message"
35required-features = ["std"]
36