-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
47 lines (40 loc) · 1.47 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
[package]
name = "makair-telemetry"
version = "2.2.0"
authors = ["David Sferruzza <[email protected]>", "Valerian Saliou <[email protected]>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
base64 = "0.13.0"
crc32fast = "1.3.2"
log = "0.4.17"
nom = "7.1.1"
thiserror = "1.0.31"
clap = { version = "3.1.18", features = ["derive", "env", "cargo"], optional = true }
env_logger = { version = "0.9.0", optional = true }
rand = { version = "0.8.5", optional = true }
serde = { version = "1.0.137", features = ["derive"], optional = true }
serde_json = { version = "1.0.81", optional = true }
serial = { version = "0.4.0", optional = true }
tungstenite = { version = "0.17.2", default-features = false, features = ["rustls-tls-webpki-roots"], optional = true }
url = { version = "2.2.2", optional = true }
[dev-dependencies]
ntest = "0.8.1"
proptest = "1.0.0"
[lib]
name = "makair_telemetry"
path = "src/lib.rs"
[features]
default = ["rand", "serial"]
build-binary = ["clap", "env_logger", "rand", "serde_json", "serial", "serde-messages", "websocket"]
serde-messages = ["serde"]
websocket = ["tungstenite", "url"]
[[bin]]
name = "makair_telemetry_cli"
path = "src/cli/bin.rs"
required-features = ["build-binary"]
[package.metadata.docs.rs]
# To build locally:
# RUSTDOCFLAGS="--cfg doc_cfg" cargo +nightly doc --all-features --no-deps --open
all-features = true
rustdoc-args = ["--cfg", "doc_cfg"]