-
Notifications
You must be signed in to change notification settings - Fork 31
/
Cargo.toml
55 lines (45 loc) · 1.27 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
55
[workspace.package]
edition = "2021"
authors = ["Alexey Gerasev <[email protected]>"]
homepage = "https://github.com/agerasev/ringbuf"
repository = "https://github.com/agerasev/ringbuf.git"
readme = "README.md"
license = "MIT/Apache-2.0"
[workspace.dependencies]
ringbuf = { path = ".", version = "0.4.7" }
[workspace]
members = ["async", "blocking"]
[package]
name = "ringbuf"
version = "0.4.7"
edition.workspace = true
authors.workspace = true
description = "Lock-free SPSC FIFO ring buffer with direct access to inner data"
documentation = "https://docs.rs/ringbuf"
repository.workspace = true
keywords = ["lock-free", "spsc", "ring-buffer", "rb", "fifo"]
categories = ["concurrency", "data-structures", "no-std"]
license.workspace = true
[features]
default = ["std"]
std = ["alloc", "portable-atomic?/std"]
alloc = []
bench = []
test_local = []
[dependencies]
crossbeam-utils = { version = "0.8", default-features = false }
portable-atomic = { version = "1", default-features = false, optional = true }
[dev-dependencies]
once_mut = "0.1.0"
[[example]]
name = "simple"
required-features = ["alloc"]
[[example]]
name = "overwrite"
required-features = ["alloc"]
[[example]]
name = "message"
required-features = ["std"]
[[example]]
name = "test_ordering"
required-features = ["std"]