-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathCargo.toml
141 lines (132 loc) · 4.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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# This file is part of Edgehog.
#
# Copyright 2022 SECO Mind Srl
#
# SPDX-License-Identifier: CC0-1.0
[package]
name = "edgehog-device-runtime"
version = { workspace = true }
edition = { workspace = true }
homepage = { workspace = true }
rust-version = { workspace = true }
description = "Edgehog Device Runtime is a portable middleware, that enables remote device management on Linux-based systems."
[workspace]
resolver = "2"
members = [
"cellular-modems-service",
"e2e-test",
"e2e-test-containers",
"e2e-test-forwarder",
"edgehog-device-runtime-containers",
"edgehog-device-runtime-forwarder",
"hardware-id-service",
"led-manager-service",
]
[workspace.package]
version = "0.8.1"
edition = "2021"
homepage = "https://github.com/edgehog-device-manager/edgehog-device-runtime"
rust-version = "1.72.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
astarte-device-sdk = { workspace = true, features = ["derive"] }
async-trait = { workspace = true }
bytes = { workspace = true }
cfg-if = { workspace = true }
clap = { workspace = true, features = ["derive", "env"] }
displaydoc = { workspace = true }
edgehog-containers = { workspace = true, optional = true }
edgehog-forwarder = { workspace = true, optional = true }
futures = { workspace = true }
procfs = { workspace = true }
reqwest = { workspace = true, features = ["stream"] }
rustls = { workspace = true, features = ["ring", "logging", "std", "tls12"] }
serde = { workspace = true }
serde_json = { workspace = true }
stable-eyre = { workspace = true }
sysinfo = { workspace = true }
systemd = { workspace = true, optional = true }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["full"] }
tokio-stream = { workspace = true }
tokio-util = { workspace = true }
toml = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true, features = ["env-filter"] }
udev = { workspace = true, optional = true }
url = { workspace = true }
uuid = { workspace = true, features = ["v5", "v4", "serde"] }
wifiscanner = { workspace = true, optional = true }
zbus = { workspace = true, optional = true, default-features = false, features = ["tokio"] }
[build-dependencies]
rustc_version = { workspace = true }
[dev-dependencies]
astarte-message-hub-proto = { workspace = true }
httpmock = { workspace = true }
mockall = { workspace = true }
tempdir = { workspace = true }
tokio = { workspace = true, features = ["test-util"] }
tokio-stream = { workspace = true, features = ["net"] }
[features]
default = ["udev", "wifiscanner", "zbus"]
containers = ["dep:edgehog-containers"]
forwarder = ["dep:edgehog-forwarder"]
message-hub = ["astarte-device-sdk/message-hub"]
systemd = ["dep:systemd"]
udev = ["dep:udev"]
wifiscanner = ["dep:wifiscanner"]
zbus = ["dep:zbus"]
[workspace.dependencies]
astarte-device-sdk = "0.9.1"
astarte-device-sdk-mock = "0.9.1"
astarte-message-hub-proto = "0.7.0"
async-trait = "0.1.83"
backoff = "0.4.0"
base64 = "0.22.1"
bollard = "0.17.1"
bytes = "1.9.0"
cfg-if = "1.0.0"
clap = "=4.4.18"
color-eyre = "0.6.3"
displaydoc = "0.2.5"
edgehog-containers = { package = "edgehog-device-runtime-containers", path = "./edgehog-device-runtime-containers", version = "=0.1.0" }
edgehog-device-forwarder-proto = "0.1.0"
edgehog-forwarder = { package = "edgehog-device-runtime-forwarder", path = "./edgehog-device-runtime-forwarder", version = "=0.8.1" }
futures = "0.3.31"
hex = "0.4.3"
http = "1.1.0"
httpmock = "0.7"
hyper = "1.5.1"
indexmap = "2.7.0"
itertools = "0.13.0"
mockall = "0.13.1"
petgraph = "0.6.5"
pretty_assertions = "1.4.1"
procfs = "0.16.0"
reqwest = "0.12.9"
rustc_version = "0.4.1"
rustls = { version = "0.23.20", default-features = false }
rustls-native-certs = "0.8.1"
rustls-pemfile = "2.2.0"
serde = "1.0.214"
serde_json = "1.0.133"
stable-eyre = "0.2.2"
sysinfo = "0.30.13"
systemd = "0.10.0"
tempdir = "0.3.7"
tempfile = "3.14.0"
thiserror = "2.0.3"
tokio = "1.41.1"
tokio-stream = "0.1.16"
tokio-tungstenite = "0.24.0"
tokio-util = "0.7.13"
toml = "0.8.19"
tracing = "0.1.41"
tracing-subscriber = "0.3.18"
udev = "0.9.1"
url = "2.5.4"
uuid = "1.11.0"
wifiscanner = "0.5.1"
zbus = { version = "3.15.2", default-features = false }
# Transitive dependencies
hyperlocal = "=0.9.0"