-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
43 lines (34 loc) · 1.23 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
[package]
name = "radio-s2lp"
description = "Driver for the ST S2-LP Sub 1GHz ISM band radio IC"
version = "0.1.0"
authors = ["Ryan Kurte <[email protected]>"]
edition = "2021"
[features]
std = [ "thiserror", "anyhow" ]
util = ["structopt", "tracing", "tracing-subscriber", "humantime", "driver-pal/hal", "radio/helpers" ]
default = [ "std", "util", "driver-pal/hal-cp2130", "driver-pal/hal-linux" ]
[dependencies]
embedded-hal = "1.0.0-alpha.5"
radio = "0.10.0"
modular-bitfield = "0.11.2"
log = "0.4.14"
num_enum = { version = "0.5.4", default_features = false }
# Util dependencies
driver-pal = { version = "0.8.0-alpha.5", default_features = false }
structopt = { version = "0.3.25", optional = true }
thiserror = { version = "1.0.30", optional = true }
humantime = { version = "2.1.0", optional = true }
tracing = { version = "0.1.25", optional = true }
tracing-subscriber = { version = "0.2.16", optional = true }
serde = { version = "1.0.130", optional = true }
defmt = { version = "0.2.3", optional = true }
anyhow = { version = "1.0.44", optional = true }
[dev-dependencies]
embedded-hal-mock = { version = "0.8.0" }
simplelog = "0.5.3"
[[bin]]
name = "s2lp-util"
path = "src/util/main.rs"
required-features = [ "util" ]
[patch.crates-io]