-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
45 lines (37 loc) · 1.4 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
[package]
name = "radio-sx1231"
description = "Rust driver for the Semtec SX1231 Sub GHZ (G)FSK/OOK Radio ICs"
version = "0.3.0"
authors = ["Erik Henriksson <[email protected]>"]
repository = "https://github.com/rust-iot/rust-radio-sx1231"
license = "MPL-2.0"
edition = "2018"
[features]
util = [ "structopt", "linux-embedded-hal", "simplelog", "humantime", "bitbang-hal", "shared-bus", "nb", "void" ]
default = ["log"]
[dependencies]
libc = { version = "0.2", optional = true }
radio = "0.11"
embedded-hal = { version = "0.2.4", features = ["unproven"] }
modular-bitfield = "0.11.0"
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
structopt = { version = "0.3", optional = true }
linux-embedded-hal = { version = "0.3.0", optional = true }
simplelog = { version = "0.12", optional = true }
humantime = { version = "2.0", optional = true }
shared-bus = { version = "0.2.0", features = ["std"], optional = true }
bitbang-hal = { version = "0.3.2", optional = true }
nb = {version = "1", optional = true}
void = {version = "1", optional = true}
defmt = { version = "0.3", optional = true}
log = { version = "0.4", default-features = false, optional = true }
[dev-dependencies]
color-backtrace = "0.5.1"
[[bin]]
name = "sx1231-util"
path = "src/util/main.rs"
required-features = ["util"]
[[test]]
name = "integration"
path = "tests/integration.rs"
required-features = ["util"]