summaryrefslogtreecommitdiffstats
path: root/tedge/Cargo.toml
blob: 0ac59d6c2a79aaf436b7657b532e9a5ea2e1c939 (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
49
50
[package]
name = "tedge"
version = "0.2.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"
mqtt_client = { path = "../common/mqtt_client" }
reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "rustls-tls", "stream"] }
rpassword = "5.0"
hyper = { version = "0.14", default-features = false }
rustls = "0.19"
serde = { version = "1.0", features = ["derive"] }
structopt = "0.3"
tedge_utils = { path = "../common/tedge_utils" }
tempfile = "3.2"
thiserror = "1.0"
tokio = { version = "1.8", features = ["rt", "signal", "io-util", "io-std", "sync"] }
toml = "0.5"
url = "2.2"
webpki = "0.21"
which = "4.1"
tedge_config = { path = "../tedge_config" }
tedge_users = { path = "../common/tedge_users" }

[dev-dependencies]
assert_cmd = "2.0.0"
assert_matches = "1.4"
mockito = "0.30"
pem = "0.8"
predicates = "2.0"
which = "4.0"

[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