forked from devguardio/carrier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
116 lines (86 loc) · 2.55 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[package]
name = "carrier"
version = "0.12.2"
authors = ["Arvid E. Picciani <[email protected]>"]
license = "MIT"
description = "carrier is a generic secure message system for IoT"
homepage = "https://devguard.io"
repository = "https://github.com/devguardio/carrier"
[features]
default = ["conduit"]
openwrt = ["serde_json"]
conduit = ["gcmap"]
uefi = ["smbios", "cluproccmdline"]
[dependencies]
# not no-std
bs58 = "0.2.2"
crc8 = "0.1.1"
prost = "0.5.0"
prost-derive = "0.5.0"
bytes = "0.4.12"
hpack = "0.3.0"
#not needed
osaka = "0.3.0"
osaka-dns = "0.3.0"
mtdparts = "0.2.0"
mio = "0.6.16"
mio-extras = "2.0.5"
dirs = "1.0.5"
toml = "0.5.0"
serde = "1.0.90"
serde_derive = "1.0.90"
#works
byteorder = "1.3.1"
clear_on_drop = "0.2.3"
ed25519-dalek = "1.0.0-pre.1"
#log = { version = "0.4.6", features = ["release_max_level_debug"] }
log = { version = "0.4.6"}
sha2 = "0.8.0"
subtle = "2.0.0"
x25519-dalek = { version = "0.5.2", default-features = false, features = ["std", "u64_backend"] }
rand = "0.6.5"
#conduit
gcmap = {version = "0.1.4", optional = true}
#main
# TODO remove from lib dependencies somehow
# https://github.com/rust-lang/cargo/issues/1982
which = "2.0.1"
tinylogger = "0.1.0"
axon = "0.3.0"
clap = "2.33.0"
num_cpus = "1.10.0"
wait-timeout = "0.2.0"
pbr = "1.0.1"
tempfile = "3.1"
#pty
nix = "0.15.0"
libc = "0.2.51"
#openwrt
serde_json = {version = "1.0", optional = true}
# x86
smbios = {version = "0.1.7", optional = true}
cluproccmdline = {version = "0.1.5", optional = true}
#cli
[target.'cfg(target_arch = "x86_64")'.dependencies]
env_logger = {version = "0.6.2", default-features = false, features = ["termcolor", "atty", "humantime"]}
[dependencies.snow]
version = "0.5.2"
default-features = false
features = ["hacl-star-resolver"]
[dev-dependencies]
proptest = "0.9.2"
[lib]
name = "carrier"
path = "src/lib.rs"
[[bin]]
name = "carrier"
path = "src/main.rs"
[build-dependencies]
prost-build = "0.5.0"
rand = "0.6.5"
clap = "2.33.0"
[profile.release]
lto = true
opt-level = "z"
panic = 'abort'
incremental = false