forked from ThomasHabets/rustradio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
48 lines (41 loc) · 1.09 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
[package]
name = "rustradio"
version = "0.4.2"
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"]}
[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"]
[profile.release]
overflow-checks = true
#lto = true
#codegen-units = 1 # Higher is faster, lower gives more opt potential.
[profile.release.package."*"]
overflow-checks = true