-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
60 lines (51 loc) · 1.37 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
56
57
58
59
60
[package]
name = "rustradio"
version = "0.6.1"
edition = "2021"
license = "MIT"
authors = ["Thomas Habets <[email protected]>"]
readme = "README.md"
repository = "https://github.com/ThomasHabets/rustradio"
description = "Software defined radio library"
keywords = ["SDR", "radio"]
# See more keys and their definitions at
# https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.75"
log = "0.4.20"
num-complex = "0.4.4"
rustfft = "6.1.0"
tempfile = "3.8.0"
rtlsdr = {version = "0.1.4", optional=true}
fast-math = {version = "0.1.1", optional=true}
libc = "0.2.149"
soapysdr = {version = "0.4.0", optional=true}
serde_json = "1.0.113"
serde = {version = "1.0.196", features = ["derive"]}
cpal = { version = "0.15.3", features = ["jack"], optional=true }
errno = "0.3.9"
rustradio_macros = { version = "0.6.1", path = "rustradio_macros" }
[dev-dependencies]
structopt = "0.3.26"
stderrlog = "0.6.0"
ctrlc = "3.4.1"
[lib]
name = "rustradio"
path = "src/lib.rs"
[features]
rtlsdr = ["dep:rtlsdr"]
soapysdr = ["dep:soapysdr"]
fast-math = ["dep:fast-math"]
audio = ["dep:cpal"]
[[example]]
name = "bell202"
required-features = ["soapysdr"]
[[example]]
name = "tone"
required-features = ["audio"]
[profile.release]
overflow-checks = true
#lto = true
#codegen-units = 1 # Higher is faster, lower gives more opt potential.
[profile.release.package."*"]
overflow-checks = true