-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCargo.toml
39 lines (35 loc) · 1.05 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
[patch.crates-io]
serial = { git = "https://github.com/bytebeamio/serial-rs", branch = "android_fix" }
[workspace]
resolver = "2"
members = ["uplink", "storage", "tools/utils", "tools/system-stats"]
exclude = ["tools/deserialize-backup", "tools/simulator", "tools/tunshell"]
[workspace.dependencies]
bytes = "1"
flume = "0.11"
futures-util = "0.3"
log = "0.4"
rand = "0.8"
rumqttc = { git = "https://github.com/bytebeamio/rumqtt", rev = "b7ae6b5693d8c9c972d5eb857b2293fb901d57d9" }
serde = { version = "1", features = ["derive"] }
serde_json = "1.0"
tempdir = "0.3"
thiserror = "1"
tokio = { version = "1", features = ["rt-multi-thread", "process"] }
tokio-stream = "0.1.15"
tokio-util = { version = "0.7", features = ["codec", "time"] }
[profile.dev]
opt-level = 0
############# for faster compile, run cycle
#debug = 0
#strip = "debuginfo"
############################################
############# for debugging
debug = true
strip = false
############################################
panic = "unwind"
[profile.release]
opt-level = "s"
strip = true
panic = "unwind"