-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
52 lines (42 loc) · 1.14 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
[package]
name = "vmcircbuffer"
version = "0.0.10"
authors = ["Bastian Bloessl <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
homepage = "https://www.futuresdr.org"
repository = "https://github.com/futuresdr/vmcircbuffer/"
readme = "README.md"
description = "Double Mapped Circular Buffer"
keywords = ["sdr", "dsp", "real-time", "async"]
categories = ["asynchronous", "concurrency", "hardware-support", "science"]
[features]
default = ["async", "sync", "nonblocking", "generic"]
async = ["futures", "generic"]
sync = ["generic"]
nonblocking = ["generic"]
generic = []
[[example]]
name = "sdr"
required-features = ["sync"]
[[test]]
name = "async"
required-features = ["async"]
[[test]]
name = "sync"
required-features = ["sync"]
[[test]]
name = "nonblocking"
required-features = ["nonblocking"]
[dependencies]
futures = { version = "0.3.21", optional = true }
once_cell = "1.12"
slab = "0.4.6"
thiserror = "1.0"
[target.'cfg(unix)'.dependencies]
libc = "0.2.126"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["sysinfoapi", "winbase", "handleapi", "memoryapi"] }
[dev-dependencies]
rand = "0.8.5"
smol = "1.2.5"