summaryrefslogtreecommitdiffstats
path: root/crates/core/tedge/Cargo.toml
blob: 1b3c14560cfb87279f1e5ffa190824d4a20710dc (plain)
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
[package]
name = "tedge"
version = "0.4.3"
edition = "2018"
authors = ["thin-edge.io team <info@thin-edge.io>"]
license = "Apache-2.0"
readme = "README.md"
description = "tedge is the cli tool for thin-edge.io"

[package.metadata.deb]
depends = "mosquitto"
maintainer-scripts = "configuration/debian/tedge"

[dependencies]
anyhow = "1.0"
certificate = { path = "../../common/certificate" }
chrono = "0.4"
futures = "0.3"
hyper = { version = "0.14", default-features = false }
reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "rustls-tls", "stream"] }
rpassword = "5.0"
rumqttc = "0.10"
rustls = "0.19"
serde = { version = "1.0", features = ["derive"] }
structopt = "0.3"
tedge_config = { path = "../../common/tedge_config" }
tedge_users = { path = "../../common/tedge_users" }
tedge_utils = { path = "../../common/tedge_utils" }
thiserror = "1.0"
toml = "0.5"
url = "2.2"
webpki = "0.21"
which = "4.2"

[dev-dependencies]
assert_cmd = "2.0"
assert_matches = "1.5"
mockito = "0.30"
pem = "1.0"
predicates = "2.0"
tempfile = "3.2"

[features]
integration-test = []
mosquitto-available = []      # Enable tests requesting mosquitto installed
root-access = []              # Enable tests requesting root access
tedge-user = []               # Enable tests requesting a tedge user
openrc = []                   # Enable usage of OpenRC