| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "ringbuf" |
| 15 |
version = "0.3.3" |
| 16 |
authors = ["Alexey Gerasev <[email protected]>"] |
| 17 |
description = "Lock-free SPSC FIFO ring buffer with direct access to inner data" |
| 18 |
homepage = "https://github.com/agerasev/ringbuf" |
| 19 |
documentation = "https://docs.rs/ringbuf" |
| 20 |
readme = "README.md" |
| 21 |
keywords = [ |
| 22 |
"lock-free", |
| 23 |
"spsc", |
| 24 |
"ring-buffer", |
| 25 |
"rb", |
| 26 |
"fifo", |
| 27 |
] |
| 28 |
categories = [ |
| 29 |
"concurrency", |
| 30 |
"data-structures", |
| 31 |
"no-std", |
| 32 |
] |
| 33 |
license = "MIT/Apache-2.0" |
| 34 |
repository = "https://github.com/agerasev/ringbuf.git" |
| 35 |
|
| 36 |
[[example]] |
| 37 |
name = "simple" |
| 38 |
required-features = ["alloc"] |
| 39 |
|
| 40 |
[[example]] |
| 41 |
name = "overwrite" |
| 42 |
required-features = ["alloc"] |
| 43 |
|
| 44 |
[[example]] |
| 45 |
name = "message" |
| 46 |
required-features = ["std"] |
| 47 |
|
| 48 |
[dependencies.crossbeam-utils] |
| 49 |
version = "0.8" |
| 50 |
default-features = false |
| 51 |
|
| 52 |
[features] |
| 53 |
alloc = [] |
| 54 |
bench = [] |
| 55 |
default = [ |
| 56 |
"alloc", |
| 57 |
"std", |
| 58 |
] |
| 59 |
std = ["alloc"] |