summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock172
-rw-r--r--common/batcher/Cargo.toml6
-rw-r--r--common/certificate/Cargo.toml12
-rw-r--r--common/flockfile/Cargo.toml2
-rw-r--r--common/json_writer/Cargo.toml2
-rw-r--r--common/mqtt_client/Cargo.toml12
-rw-r--r--common/tedge_users/Cargo.toml2
-rw-r--r--common/tedge_utils/Cargo.toml2
-rw-r--r--mapper/cumulocity/c8y_translator_lib/Cargo.toml2
-rw-r--r--mapper/tedge_mapper/Cargo.toml20
-rw-r--r--mapper/thin_edge_json/Cargo.toml6
-rw-r--r--sm/download/Cargo.toml2
-rw-r--r--sm/plugin_sm/Cargo.toml2
-rw-r--r--sm/plugins/tedge_apt_plugin/Cargo.toml8
-rw-r--r--sm/tedge_agent/Cargo.toml6
-rw-r--r--tedge/Cargo.toml17
16 files changed, 122 insertions, 151 deletions
diff --git a/Cargo.lock b/Cargo.lock
index ca7bbec3..7ba7b295 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -80,12 +80,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38de00daab4eac7d753e97697066238d67ce9d7e2d823ab4f72fe14af29f3f33"
[[package]]
-name = "arrayvec"
-version = "0.5.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b"
-
-[[package]]
name = "assert-json-diff"
version = "2.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -262,18 +256,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
[[package]]
-name = "bitvec"
-version = "0.19.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8942c8d352ae1838c9dda0b0ca2ab657696ef2232a20147cf1b30ae1a9cb4321"
-dependencies = [
- "funty",
- "radium",
- "tap",
- "wyz",
-]
-
-[[package]]
name = "block-buffer"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -382,7 +364,7 @@ dependencies = [
"assert_matches",
"base64",
"chrono",
- "pem",
+ "pem 1.0.0",
"rcgen",
"sha-1",
"thiserror",
@@ -598,11 +580,10 @@ checksum = "3ee2393c4a91429dffb4bedf19f4d6abf27d8a732c8ce4980305d782e5426d57"
[[package]]
name = "der-oid-macro"
-version = "0.4.0"
+version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4cccf60bb98c0fca115a581f894aed0e43fa55bf289fdac5599bec440bb4fd6"
+checksum = "c73af209b6a5dc8ca7cbaba720732304792cddc933cfea3d74509c2b1ef2f436"
dependencies = [
- "nom",
"num-bigint 0.4.2",
"num-traits",
"syn 1.0.80",
@@ -610,9 +591,9 @@ dependencies = [
[[package]]
name = "der-parser"
-version = "5.1.2"
+version = "6.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d7ededb7525bb4114bc209685ce7894edc2965f4914312a1ea578a645a237f0"
+checksum = "9807efb310ce4ea172924f3a69d82f9fd6c9c3a19336344591153e665b31c43e"
dependencies = [
"der-oid-macro",
"nom",
@@ -805,12 +786,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394"
[[package]]
-name = "funty"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fed34cd105917e91daa4da6b3728c47b068749d6a62c59811f06ed2ac71d9da7"
-
-[[package]]
name = "futures"
version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -939,7 +914,7 @@ checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753"
dependencies = [
"cfg-if 1.0.0",
"libc",
- "wasi 0.10.0+wasi-snapshot-preview1",
+ "wasi 0.10.2+wasi-snapshot-preview1",
]
[[package]]
@@ -1254,19 +1229,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
-name = "lexical-core"
-version = "0.7.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6607c62aa161d23d17a9072cc5da0be67cdfc89d3afb1e8d9c842bebc2525ffe"
-dependencies = [
- "arrayvec",
- "bitflags",
- "cfg-if 1.0.0",
- "ryu",
- "static_assertions",
-]
-
-[[package]]
name = "libc"
version = "0.2.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1348,6 +1310,12 @@ dependencies = [
]
[[package]]
+name = "minimal-lexical"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9c64630dcdd71f1a64c435f54885086a0de5d6a12d104d69b165fb7d5286d677"
+
+[[package]]
name = "miniz_oxide"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1438,7 +1406,7 @@ dependencies = [
"log",
"mockall",
"rand 0.8.4",
- "rumqttc",
+ "rumqttc 0.9.0",
"serde",
"tedge_utils",
"thiserror",
@@ -1456,6 +1424,15 @@ dependencies = [
]
[[package]]
+name = "mqttbytes"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "12793a86f38eb258c5dbddf801dfd521c1d7a9def6e3a3de1ee248441c9dcc28"
+dependencies = [
+ "bytes",
+]
+
+[[package]]
name = "multipart"
version = "0.17.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1497,14 +1474,12 @@ dependencies = [
[[package]]
name = "nom"
-version = "6.1.2"
+version = "7.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e7413f999671bd4745a7b624bd370a569fb6bc574b23c83a3c5ed2e453f3d5e2"
+checksum = "7ffd9d26838a953b4af82cbeb9f1592c6798916983959be223a7124e992742c1"
dependencies = [
- "bitvec",
- "funty",
- "lexical-core",
"memchr",
+ "minimal-lexical",
"version_check",
]
@@ -1632,9 +1607,9 @@ dependencies = [
[[package]]
name = "oid-registry"
-version = "0.1.5"
+version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6aae73e474f83beacd8ae2179e328e03d63d9223949d97e1b7c108059a34715"
+checksum = "fe554cb2393bc784fd678c82c84cc0599c31ceadc7f03a594911f822cb8d1815"
dependencies = [
"der-parser",
]
@@ -1703,6 +1678,17 @@ dependencies = [
]
[[package]]
+name = "pem"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f2373df5233932a893d3bc2c78a0bf3f6d12590a1edd546b4fbefcac32c5c0f"
+dependencies = [
+ "base64",
+ "once_cell",
+ "regex",
+]
+
+[[package]]
name = "percent-encoding"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1845,9 +1831,9 @@ dependencies = [
[[package]]
name = "pretty_assertions"
-version = "0.7.2"
+version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1cab0e7c02cf376875e9335e0ba1da535775beb5450d21e1dffca068818ed98b"
+checksum = "ec0cfe1b2403f172ba0f234e500906ee0a3e493fb81092dac23ebefe129301cc"
dependencies = [
"ansi_term 0.12.1",
"ctor",
@@ -1970,12 +1956,6 @@ dependencies = [
]
[[package]]
-name = "radium"
-version = "0.5.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "941ba9d78d8e2f7ce474c015eea4d9c6d25b6a3327f9832ee29a4de27f91bbb8"
-
-[[package]]
name = "rand"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2097,7 +2077,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2351cbef4bf91837f5ff7face6091cb277ba960d1638d2c5ae2327859912fbba"
dependencies = [
"chrono",
- "pem",
+ "pem 0.8.3",
"ring",
"yasna",
"zeroize",
@@ -2228,7 +2208,25 @@ dependencies = [
"bytes",
"http",
"log",
- "mqttbytes",
+ "mqttbytes 0.4.0",
+ "pollster",
+ "thiserror",
+ "tokio",
+ "tokio-rustls",
+ "webpki",
+]
+
+[[package]]
+name = "rumqttc"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "613456fdab2f811204edb36f25e397cc62956c85326c274d153bc0b17c44a777"
+dependencies = [
+ "async-channel",
+ "bytes",
+ "http",
+ "log",
+ "mqttbytes 0.5.0",
"pollster",
"thiserror",
"tokio",
@@ -2248,7 +2246,7 @@ dependencies = [
"futures-util",
"jemallocator",
"log",
- "mqttbytes",
+ "mqttbytes 0.4.0",
"pretty_env_logger",
"rumqttlog",
"serde",
@@ -2270,7 +2268,7 @@ dependencies = [
"jackiechan",
"log",
"memmap",
- "mqttbytes",
+ "mqttbytes 0.4.0",
"segments",
"serde",
"thiserror",
@@ -2293,9 +2291,9 @@ dependencies = [
[[package]]
name = "rusticata-macros"
-version = "3.2.0"
+version = "4.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fbbee512c633ecabd4481c40111b6ded03ddd9ab10ba6caa5a74e14c889921ad"
+checksum = "65c52377bb2288aa522a0c8208947fada1e0c76397f108cc08f57efe6077b50d"
dependencies = [
"nom",
]
@@ -2314,12 +2312,6 @@ dependencies = [
]
[[package]]
-name = "rustversion"
-version = "1.0.5"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61b3909d758bb75c79f23d4736fac9433868679d3ad2ea7a61e3c25cfda9a088"
-
-[[package]]
name = "rusty-fork"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2527,12 +2519,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"
[[package]]
-name = "static_assertions"
-version = "1.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
-
-[[package]]
name = "stats_alloc"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2591,12 +2577,6 @@ dependencies = [
]
[[package]]
-name = "tap"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
-
-[[package]]
name = "tedge"
version = "0.3.2"
dependencies = [
@@ -2608,11 +2588,11 @@ dependencies = [
"futures",
"hyper",
"mockito",
- "pem",
+ "pem 1.0.0",
"predicates 2.0.3",
"reqwest",
"rpassword",
- "rumqttc",
+ "rumqttc 0.8.0",
"rustls",
"serde",
"structopt",
@@ -2853,12 +2833,11 @@ dependencies = [
[[package]]
name = "time"
-version = "0.1.44"
+version = "0.1.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255"
+checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
dependencies = [
"libc",
- "wasi 0.10.0+wasi-snapshot-preview1",
"winapi",
]
@@ -3282,9 +3261,9 @@ checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
[[package]]
name = "wasi"
-version = "0.10.0+wasi-snapshot-preview1"
+version = "0.10.2+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
+checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
[[package]]
name = "wasm-bindgen"
@@ -3433,16 +3412,10 @@ dependencies = [
]
[[package]]
-name = "wyz"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "85e60b0d1b5f99db2556934e21937020776a5d31520bf169e851ac44e6420214"
-
-[[package]]
name = "x509-parser"
-version = "0.9.2"
+version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64abca276c58f8341ddc13fd4bd6ae75993cc669043f5b34813c90f7dff04771"
+checksum = "ffc90836a84cb72e6934137b1504d0cae304ef5d83904beb0c8d773bbfe256ed"
dependencies = [
"base64",
"chrono",
@@ -3452,7 +3425,6 @@ dependencies = [
"nom",
"oid-registry",
"rusticata-macros",
- "rustversion",
"thiserror",
]
diff --git a/common/batcher/Cargo.toml b/common/batcher/Cargo.toml
index 37816fbd..aceca370 100644
--- a/common/batcher/Cargo.toml
+++ b/common/batcher/Cargo.toml
@@ -6,8 +6,8 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-chrono = "0.4.19"
-tokio = { version = "1.8", features = ["sync", "time"] }
+chrono = "0.4"
+tokio = { version = "1.12", features = ["sync", "time"] }
[dev-dependencies]
-tokio = { version = "1.8", features = ["rt", "macros"] }
+tokio = { version = "1.12", features = ["rt", "macros"] }
diff --git a/common/certificate/Cargo.toml b/common/certificate/Cargo.toml
index 14094264..d432dd62 100644
--- a/common/certificate/Cargo.toml
+++ b/common/certificate/Cargo.toml
@@ -7,14 +7,14 @@ edition = "2018"
[dependencies]
chrono = "0.4"
-rcgen = { version = "0.8.11", features = ["pem", "zeroize"] }
+rcgen = { version = "0.8", features = ["pem", "zeroize"] }
sha-1 = "0.9"
thiserror = "1.0"
-x509-parser = "0.9"
-zeroize = "1.3"
+x509-parser = "0.12"
+zeroize = "1.4"
[dev-dependencies]
+anyhow = "1.0"
+assert_matches = "1.5"
base64 = "0.13"
-pem = "0.8"
-anyhow = "1.0.40"
-assert_matches = "1.5.0"
+pem = "1.0"
diff --git a/common/flockfile/Cargo.toml b/common/flockfile/Cargo.toml
index 7b793929..239719d9 100644
--- a/common/flockfile/Cargo.toml
+++ b/common/flockfile/Cargo.toml
@@ -8,8 +8,8 @@ edition = "2018"
thiserror = "1.0"
[target.'cfg(unix)'.dependencies]
-tracing = { version = "0.1", features = ["log"] }
nix = "0.23"
+tracing = { version = "0.1", features = ["log"] }
[dev-dependencies]
assert_matches = "1.5"
diff --git a/common/json_writer/Cargo.toml b/common/json_writer/Cargo.toml
index a5a3208c..ca5ef51f 100644
--- a/common/json_writer/Cargo.toml
+++ b/common/json_writer/Cargo.toml
@@ -4,8 +4,8 @@ version = "0.3.2"
edition = "2018"
[dependencies]
-thiserror = "1.0"
serde_json = "1"
+thiserror = "1.0"
[dev-dependencies]
anyhow = "1.0"
diff --git a/common/mqtt_client/Cargo.toml b/common/mqtt_client/Cargo.toml
index 62f57ccc..51841d9e 100644
--- a/common/mqtt_client/Cargo.toml
+++ b/common/mqtt_client/Cargo.toml
@@ -6,14 +6,14 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-rumqttc = "0.8.0"
-thiserror = "1.0"
-tokio = { version = "1.8", features = ["sync", "macros"] }
-mockall = "0.10"
async-trait = "0.1"
+mockall = "0.10"
+rumqttc = "0.9"
+thiserror = "1.0"
+tokio = { version = "1.12", features = ["sync", "macros"] }
[dev-dependencies]
-anyhow= "1.0"
+anyhow = "1.0"
async-log = "2.0"
env_logger = "0.9"
futures = "0.3"
@@ -21,7 +21,7 @@ futures-timer = "3.0"
json = "0.12"
log = "0.4"
rand = "0.8"
-serde = "1.0.126"
+serde = "1.0"
tedge_utils = { path = "../../common/tedge_utils" }
tokio-test = "0.4"
diff --git a/common/tedge_users/Cargo.toml b/common/tedge_users/Cargo.toml
index 7e238d8f..ff6d8e9d 100644
--- a/common/tedge_users/Cargo.toml
+++ b/common/tedge_users/Cargo.toml
@@ -9,4 +9,4 @@ edition = "2018"
thiserror = "1.0"
[target.'cfg(unix)'.dependencies]
-users = "0.11.0"
+users = "0.11"
diff --git a/common/tedge_utils/Cargo.toml b/common/tedge_utils/Cargo.toml
index af756b0c..626cb529 100644
--- a/common/tedge_utils/Cargo.toml
+++ b/common/tedge_utils/Cargo.toml
@@ -18,7 +18,7 @@ rumqttd = "0.7"
rumqttlog = "0.7"
tempfile = "3.2"
thiserror = "1.0"
-tokio = { version = "1.9", default_features = false, features = [ "fs", "io-util", "macros", "rt-multi-thread","signal"] }
+tokio = { version = "1.12", default_features = false, features = [ "fs", "io-util", "macros", "rt-multi-thread","signal"] }
tracing = { version = "0.1", features = [], optional = true }
tracing-subscriber = { version = "0.2", optional = true }
diff --git a/mapper/cumulocity/c8y_translator_lib/Cargo.toml b/mapper/cumulocity/c8y_translator_lib/Cargo.toml
index 691ef10b..dfbd0c7d 100644
--- a/mapper/cumulocity/c8y_translator_lib/Cargo.toml
+++ b/mapper/cumulocity/c8y_translator_lib/Cargo.toml
@@ -18,7 +18,7 @@ anyhow = "1.0"
assert_matches = "1.5"
assert-json-diff = "2.0"
criterion = "0.3"
-pretty_assertions = "0.7"
+pretty_assertions = "1.0"
proptest = "1.0"
serde_json = "1.0"
diff --git a/mapper/tedge_mapper/Cargo.toml b/mapper/tedge_mapper/Cargo.toml
index 5d97916f..cac3350f 100644
--- a/mapper/tedge_mapper/Cargo.toml
+++ b/mapper/tedge_mapper/Cargo.toml
@@ -27,22 +27,22 @@ stop-on-upgrade = false
[dependencies]
anyhow = "1.0"
async-trait = "0.1"
-batcher = {path = "../../common/batcher" }
-c8y_translator_lib = {path = "../cumulocity/c8y_translator_lib" }
+batcher = { path = "../../common/batcher" }
c8y_smartrest = { path = "../cumulocity/c8y_smartrest" }
+c8y_translator_lib = { path = "../cumulocity/c8y_translator_lib" }
chrono = "0.4"
-clock = {path = "../../common/clock" }
+clock = { path = "../../common/clock" }
csv = "1.1"
-flockfile = {path = "../../common/flockfile" }
+flockfile = { path = "../../common/flockfile" }
futures = "0.3"
-json_sm = {path = "../../sm/json_sm"}
+json_sm = { path = "../../sm/json_sm"}
mockall = "0.10"
-mqtt_client = {path = "../../common/mqtt_client" }
+mqtt_client = { path = "../../common/mqtt_client" }
reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
structopt = "0.3"
-tedge_config = {path = "../../tedge_config" }
+tedge_config = { path = "../../tedge_config" }
tedge_users = { path = "../../common/tedge_users" }
tedge_utils = { path = "../../common/tedge_utils", features = ["logging"] }
thin_edge_json = {path = "../thin_edge_json" }
@@ -53,10 +53,10 @@ tracing = { version = "0.1", features = ["attributes", "log"] }
[dev-dependencies]
assert_matches = "1.5"
assert-json-diff = "2.0"
-serde = "1.0.126"
+serde = "1.0"
serde_json = "1.0"
-serial_test = "0.5.1"
-tempfile = "3.2.0"
+serial_test = "0.5"
+tempfile = "3.2"
test-case = "1.2"
tokio-test = "0.4"
diff --git a/mapper/thin_edge_json/Cargo.toml b/mapper/thin_edge_json/Cargo.toml
index 90707b0a..b6ad5968 100644
--- a/mapper/thin_edge_json/Cargo.toml
+++ b/mapper/thin_edge_json/Cargo.toml
@@ -9,18 +9,18 @@ edition = "2018"
[dependencies]
chrono = "0.4"
json-writer = { path = "../../common/json_writer" }
-thiserror = "1.0"
serde = "1"
serde_json = "1"
+thiserror = "1.0"
[dev-dependencies]
anyhow = "1.0"
clock = { path = "../../common/clock" }
+criterion = "0.3"
mockall = "0.10"
proptest = "1.0"
-criterion = "0.3"
+stats_alloc = "0.1"
walkdir = "2"
-stats_alloc = "0.1.8"
[[bench]]
name = "parsing"
diff --git a/sm/download/Cargo.toml b/sm/download/Cargo.toml
index cbca346a..0bab031f 100644
--- a/sm/download/Cargo.toml
+++ b/sm/download/Cargo.toml
@@ -14,7 +14,7 @@ reqwest = { version = "0.11", default-features = false, features = ["rustls-tls"
tedge_utils = { path = "../../common/tedge_utils" }
tempfile = "3.2"
thiserror = "1.0"
-tokio = "1.9"
+tokio = "1.12"
url = "2.2"
[dev-dependencies]
diff --git a/sm/plugin_sm/Cargo.toml b/sm/plugin_sm/Cargo.toml
index ef3ae672..6b05a9f8 100644
--- a/sm/plugin_sm/Cargo.toml
+++ b/sm/plugin_sm/Cargo.toml
@@ -17,7 +17,7 @@ tracing = { version = "0.1", features = ["attributes", "log"] }
url = "2.2"
[dev-dependencies]
-assert_matches = "1.5.0"
anyhow = "1.0"
+assert_matches = "1.5"
structopt = "0.3"
tempfile = "3.2"
diff --git a/sm/plugins/tedge_apt_plugin/Cargo.toml b/sm/plugins/tedge_apt_plugin/Cargo.toml
index 0acdd700..5228e741 100644
--- a/sm/plugins/tedge_apt_plugin/Cargo.toml
+++ b/sm/plugins/tedge_apt_plugin/Cargo.toml
@@ -18,9 +18,9 @@ structopt = "0.3"
thiserror = "1.0"
[dev-dependencies]
-hamcrest2 = "0.3.0"
-serial_test = "0.5.1"
-test-case = "1.2.0"
+anyhow = "1.0"
+hamcrest2 = "0.3"
reqwest = { version = "0.11", default-features = false, features = [ "blocking", "rustls-tls" ] }
+serial_test = "0.5"
tedge_utils = { path = "../../../common/tedge_utils" }
-anyhow = "1.0.44"
+test-case = "1.2"
diff --git a/sm/tedge_agent/Cargo.toml b/sm/tedge_agent/Cargo.toml
index 16d4960b..6e05e3d2 100644
--- a/sm/tedge_agent/Cargo.toml
+++ b/sm/tedge_agent/Cargo.toml
@@ -39,9 +39,9 @@ toml = "0.5"
tracing = { version = "0.1", features = ["attributes", "log"] }
[dev-dependencies]
+assert_cmd = "2.0"
+once_cell = "1.8"
+predicates = "2.0"
rumqttd = "0.7"
rumqttlog = "0.7"
-once_cell = "1.8"
tempfile = "3.2"
-assert_cmd = "2.0"
-predicates = "2.0"
diff --git a/tedge/Cargo.toml b/tedge/Cargo.toml
index 68a7cece..08be789d 100644
--- a/tedge/Cargo.toml
+++ b/tedge/Cargo.toml
@@ -16,30 +16,29 @@ anyhow = "1.0"
certificate = { path = "../common/certificate" }
chrono = "0.4"
futures = "0.3"
-rumqttc = "0.8.0"
+hyper = { version = "0.14", default-features = false }
reqwest = { version = "0.11", default-features = false, features = ["blocking", "json", "rustls-tls", "stream"] }
rpassword = "5.0"
-hyper = { version = "0.14", default-features = false }
+rumqttc = "0.8"
rustls = "0.19"
serde = { version = "1.0", features = ["derive"] }
structopt = "0.3"
+tedge_config = { path = "../tedge_config" }
+tedge_users = { path = "../common/tedge_users" }
tedge_utils = { path = "../common/tedge_utils" }
tempfile = "3.2"
thiserror = "1.0"
toml = "0.5"
url = "2.2"
webpki = "0.21"
-which = "4.1"
-tedge_config = { path = "../tedge_config" }
-tedge_users = { path = "../common/tedge_users" }
+which = "4.2"
[dev-dependencies]
-assert_cmd = "2.0.0"
-assert_matches = "1.4"
+assert_cmd = "2.0"
+assert_matches = "1.5"
mockito = "0.30"
-pem = "0.8"
+pem = "1.0"
predicates = "2.0"
-which = "4.0"
[features]
integration-test = []