-
Notifications
You must be signed in to change notification settings - Fork 10
/
Cargo.toml
123 lines (115 loc) · 3.36 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
# 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 }
[workspace]
resolver = "2"
members = [
"e2e-test",
"e2e-test-forwarder",
"edgehog-device-runtime-docker",
"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 }
clap = { workspace = true, features = ["derive"] }
displaydoc = { workspace = true }
edgehog-forwarder = { workspace = true, optional = true }
env_logger = { workspace = true }
futures = { workspace = true }
log = { workspace = true }
procfs = { workspace = true }
reqwest = { workspace = true, features = ["stream"] }
rustc_version_runtime = { workspace = true }
serde = { workspace = true }
serde_json = { 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 }
udev = { workspace = true }
url = { workspace = true }
uuid = { workspace = true, features = ["v5", "v4", "serde"] }
wifiscanner = { workspace = true }
zbus = { workspace = true, default-features = false, features = ["tokio"] }
[dev-dependencies]
astarte-message-hub-proto = { workspace = true }
httpmock = { workspace = true }
mockall = { workspace = true }
pbjson-types = { workspace = true }
tempdir = { workspace = true }
tokio = { workspace = true, features = ["test-util"] }
tokio-stream = { workspace = true, features = ["net"] }
[features]
message-hub = ["astarte-device-sdk/message-hub"]
systemd = ["dep:systemd"]
forwarder = ["dep:edgehog-forwarder"]
e2e_test = []
[workspace.dependencies]
astarte-device-sdk = "0.7.4"
astarte-message-hub-proto = "0.6.2"
async-trait = "0.1.77"
backoff = "0.4.0"
base64 = "0.22.0"
bollard = "0.16.0"
bytes = "1.5.0"
clap = "4.3.24"
displaydoc = "0.2.4"
edgehog-device-forwarder-proto = "0.1.0"
edgehog-forwarder = { package = "edgehog-device-runtime-forwarder", path = "./edgehog-device-runtime-forwarder", version = "=0.8.1" }
env_logger = "0.11.3"
futures = "0.3.30"
hex = "0.4.3"
http = "1.1.0"
httpmock = "0.7"
hyper = "1.2.0"
log = "0.4.20"
mockall = "0.12.1"
pbjson-types = "0.6"
petgraph = "0.6.4"
procfs = "0.16.0"
reqwest = "0.12.0"
rustc_version_runtime = "0.3.0"
rustls = "0.22.2"
rustls-native-certs = "0.7.0"
rustls-pemfile = "2.1.1"
serde = "1.0.195"
serde_json = "1.0.111"
sysinfo = "0.29.11"
systemd = "0.10.0"
tempdir = "0.3.7"
thiserror = "1.0.58"
tokio = "1.35.1"
tokio-stream = "0.1.15"
tokio-tungstenite = "0.21.0"
tokio-util = "0.7.10"
toml = "0.8.2"
tracing = "0.1.40"
udev = "0.8.0"
url = "2.4.1"
uuid = "1.6.1"
wifiscanner = "0.5.1"
zbus = { version = "3.14.1", default-features = false }
[patch.crates-io]
# Temporary till fix is unstreamed
displaydoc = { git = "https://github.com/joshuachp/displaydoc" }