-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathCargo.toml
98 lines (87 loc) · 2.63 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
[package]
name = "orb-update-agent"
version = "6.0.2"
authors = [
"Richard Janis Goldschmidt",
"Galileo Daras <[email protected]>",
]
description = "Systemd service that downloads and installs OTA updates"
publish = false
edition.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[features]
can-update-test = []
# If provided, we skip manifest signature verification
skip-manifest-signature-verification = ["orb-update-agent-core/skip-manifest-signature-verification"]
[dependencies]
bytes.workspace = true
clap = { workspace = true, features = ["derive"] }
const_format = "0.2.30"
crc32fast = "1.3"
eyre.workspace = true
figment = { version = "0.10.8", features = ["env", "toml"] }
flume = "0.11.0"
gpt.workspace = true
hex.workspace = true
jod-thread = "0.1.2"
libc.workspace = true
nix = { workspace = true, default-features = false, features = ["fs"] }
once_cell = "1.17.0"
orb-build-info.workspace = true
orb-telemetry.workspace = true
orb-update-agent-core.workspace = true
orb-update-agent-dbus.workspace = true
orb-zbus-proxies = { workspace = true, features = ["login1"] }
polling = "2.2.0"
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
serde_path_to_error = "0.1.8"
serde_with = "3.6.1"
sha2.workspace = true
tap = "1.0.1"
tempfile = "3.8.0"
thiserror.workspace = true
tracing.workspace = true
url = "2.2.2"
xz2 = "0.1.6"
zbus.workspace = true
[dependencies.update-agent-can]
git = "https://github.com/worldcoin/orb-software"
rev = "f13df5b723272efc55abf22cacce3625bbd1af04"
package = "can-rs"
features = ["isotp"]
[dependencies.reqwest]
version = "0.11.4"
features = ["blocking", "json", "multipart", "rustls-tls-native-roots"]
default-features = false
[dependencies.orb-messages]
git = "https://github.com/worldcoin/orb-messages"
# Points to a commit not on main. See https://github.com/worldcoin/orb-messages/pull/37
rev = "c439077c7c1bc3a8eb6f224c32b5b4d60d094809"
[dependencies.slot-ctrl]
package = "orb-slot-ctrl"
git = "https://github.com/worldcoin/orb-software"
rev = "832962ad8220bcbe175e5e6644f57d8d98026e4f"
[dev-dependencies]
figment = { version = "0.10.8", features = ["test"] }
toml = "0.8.10"
[build-dependencies]
orb-build-info = { workspace = true, features = ["build-script"] }
[package.metadata.orb]
unsupported_targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
]
flavors = [
{ name = "no-sig", features = ["skip-manifest-signature-verification"] }
]
[package.metadata.deb]
maintainer-scripts = "debian/"
assets = [
["target/release/orb-update-agent", "/usr/local/bin/", "755"]
]
systemd-units = [
{ unit-name = "worldcoin-update-agent" },
]