-
Notifications
You must be signed in to change notification settings - Fork 36
/
Cargo.toml
108 lines (100 loc) · 2.87 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
[workspace]
resolver = "2"
members = [
"artificer",
"attest",
"attest/dbus",
"backend-state",
"build-info",
"build-info/helper",
"can",
"const-concat",
"deps-tests",
"endpoints",
"header-parsing",
"hil",
"mcu-interface",
"mcu-util",
"ui",
"ui/cone",
"ui/pid",
"ui/sound",
"ui/uart",
"qr-link",
"security-utils",
"seek-camera/sys",
"seek-camera/wrapper",
"slot-ctrl",
"supervisor",
"thermal-cam-ctrl",
"update-agent",
"update-agent/core",
"update-verifier",
"verity-tree-calc",
"wpa-supplicant",
"zbus-proxies",
"zbus-proxies/cli",
]
[workspace.package]
edition = "2021"
license = "MIT OR (Apache-2.0 WITH LLVM-exception)"
repository = "https://github.com/worldcoin/orb-software"
rust-version = "1.81.0" # See rust-toolchain.toml
# We centralize feature flags here, because it improves build caches and helps
# prevent edge cases where CI doesn't catch build errors due to more features
# being present in a --all vs -p build.
[workspace.dependencies]
bytes = "1.7.1"
clap = { version = "4.5", features = ["derive"] }
color-eyre = "0.6.2"
console-subscriber = "0.4"
data-encoding = "2.3"
derive_more = { version = "0.99", default-features = false, features = ["display", "from"] }
eyre = "0.6.12"
ftdi-embedded-hal = { version = "0.22.0", features = ["libftd2xx", "libftd2xx-static"] }
futures = "0.3.30"
libc = "0.2.153"
nix = { version = "0.28", default-features = false, features = [] }
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "stream"] }
ring = "0.16"
secrecy = "0.8"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1"
sha2 = "0.10.8"
thiserror = "1.0.60"
tokio = { version = "1", features = ["full"] }
tokio-serial = "5.4.4"
tokio-stream = "0.1.15"
tokio-test = "0.4.4"
tokio-util = "0.7.11"
tracing = "0.1"
tracing-journald = "0.3.0"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
zbus = { version = "4.4.0", default-features = false, features = ["tokio"] }
zbus_systemd = "0.25600.0"
can-rs.path = "can"
orb-attest-dbus.path = "attest/dbus"
orb-build-info.path = "build-info"
orb-const-concat.path = "const-concat"
orb-security-utils.path = "security-utils"
orb-slot-ctrl.path = "slot-ctrl"
orb-update-agent-core.path = "update-agent/core"
orb-zbus-proxies.path = "zbus-proxies"
[workspace.dependencies.orb-messages]
git = "https://github.com/worldcoin/orb-messages"
rev = "787ab78581b705af0946bcfe3a0453b64af2193f"
[workspace.dependencies.nusb]
git = "https://github.com/kevinmehall/nusb"
rev = "3ec3508324cdd01ca288b91ddcb2f92fd6a6f813"
[workspace.dependencies.gpt]
git = "https://github.com/worldcoin/gpt"
branch = "take-partition"
# increase the optimization of third party crates in dev builds.
# [profile.dev.package."*"]
# opt-level = 2
# What we use when producing artifacts to distribute
[profile.artifact]
inherits = "release"
lto = true
strip = true
debug = false