-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
56 lines (49 loc) · 2 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
49
50
51
52
53
54
55
56
[package]
name = "dtn7-plus"
version = "0.7.2"
authors = ["Lars Baumgaertner <[email protected]>"]
description = "Additional helpers for rust dtn daemon"
edition = "2018"
license = "MIT OR Apache-2.0"
categories = ["network-programming"]
repository = "https://github.com/dtn7/dtn7-plus-rs"
keywords = ["peer2peer", "dtn"]
exclude = [".vscode/", ".travis.yml"]
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bp7 = "0.10.1"
serde = { version = "1.0.127", features = ["derive"] }
serde_json = "1.0.66"
attohttpc = { version = "0.28.0", default-features = false, optional = true }
serde_cbor = { version = "0.11.1", optional = true }
smaz = { version = "0.1.0", optional = true }
thiserror = "1.0.26"
derive-try-from-primitive = { version = "1.0.0", optional = true }
serde_bytes = { version = "0.11.5", optional = true }
bitflags = { version = "2.5.0", features = ["serde"], optional = true }
clap = { version = "3.2.25", optional = true, features = ["derive", "cargo"] }
humantime = { version = "2.1.0", optional = true }
anyhow = { version = "1.0.82", optional = true }
url = { version = "2.2.2", optional = true }
tungstenite = { version = "0.21.0", features = [
], default-features = true, optional = true }
uuid = { version = "1.1.2", features = ["serde", "v4"], optional = true }
base64 = "0.22.0"
[features]
client = ["attohttpc", "tungstenite", "anyhow", "common", "url"]
sms = ["smaz", "common"]
news = ["smaz", "common", "uuid"]
common = ["serde_bytes", "serde_cbor"]
default = ["sms", "client", "location", "cli", "news", "common"]
location = ["derive-try-from-primitive", "common", "bitflags"]
cli = ["clap", "humantime", "client", "anyhow", "url"]
[[bin]]
name = "dtngpslogger"
required-features = ["location", "cli"]
[[bin]]
name = "dtngpsreceiver"
required-features = ["location", "cli"]
[[bin]]
name = "d7news"
required-features = ["news", "cli"]