summaryrefslogtreecommitdiffstats
path: root/tedge/Cargo.toml
blob: af5685167a0b0a4eb5882fe5c6c689c968c11f58 (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
51
[package]
name = "tedge"
version = "0.1.0"
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"
chrono = "0.4"
futures = "0.3"
mqtt_client = {path = "../common/mqtt_client" }
rcgen = { version = "0.8", features = ["pem"] }
reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "rustls-tls", "stream"] }
rpassword = "5.0"
serde = { version = "1.0", features = ["derive"] }
structopt = "0.3"
tempfile = "3.2"
thiserror = "1.0"
tokio = { version = "1.1", features = ["rt", "signal", "io-util", "sync"] }
toml = "0.5"
url = "2.2"
which = "4.0"
x509-parser = "0.9"
zeroize = "1.2"
sha-1 = "0.9"
tedge_config = { path = "../tedge_config" }

[target.'cfg(unix)'.dependencies]
users = "0.11.0"

[dev-dependencies]
assert_cmd = "1.0"
assert_matches = "1.4"
mockito = "0.29"
pem = "0.8"
predicates = "1.0"
base64 = "0.13"
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