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