-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
39 lines (33 loc) · 1.21 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
[package]
name = "radio"
description = "Generic traits for embedded packet radio devices"
repository = "https://github.com/rust-iot/radio-hal"
authors = ["Ryan Kurte <[email protected]>"]
license = "MIT"
edition = "2018"
version = "0.12.1"
[package.metadata.docs.rs]
features = [ "std", "nonblocking", "mock", "helpers" ]
[features]
std = [ ]
nonblocking = [ ]
mock = [ "embedded-hal-mock" ]
helpers = [ "clap", "humantime", "std", "pcap-file", "libc", "byteorder", "rolling-stats" ]
default = [ ]
[dependencies]
embedded-hal = "1.0.0"
embedded-hal-mock = { version = "0.10.0", optional = true }
nb = "1.0.0"
log = { version = "0.4.14", default_features = false }
defmt = { version = "0.3.0", optional = true }
chrono = { version = "0.4.19", default_features = false }
humantime = { version = "2.0.1", optional = true }
pcap-file = { version = "1.1.1", optional = true }
async-std = { version = "1.4.0", optional = true }
libc = { version = "0.2.71", optional = true }
byteorder = { version = "1.3.4", optional = true }
rolling-stats = { version = "0.7.0", optional = true }
thiserror = { version = "1.0.30", optional = true }
clap = { version = "4.4.7", optional = true, features = [ "derive" ] }
[dev-dependencies]
anyhow = "1.0.44"