diff options
author | initard <solo@softwareag.com> | 2022-04-28 12:37:55 +0100 |
---|---|---|
committer | initard <solo@softwareag.com> | 2022-04-28 12:37:55 +0100 |
commit | b8a1d8959f8f8b8a627e7257ffca8dfc26076745 (patch) | |
tree | c3d55eb27012563cf58fb4f2b83ab103b45a7b16 | |
parent | 00e9ee334217e62bd63677e7d0df011f84d6752d (diff) |
removed unused dependencies #1110
Signed-off-by: initard <solo@softwareag.com>
-rw-r--r-- | Cargo.lock | 197 | ||||
-rw-r--r-- | crates/common/download/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/common/logged_command/Cargo.toml | 5 | ||||
-rw-r--r-- | crates/common/tedge_config/Cargo.toml | 1 | ||||
-rw-r--r-- | crates/common/tedge_utils/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/core/c8y_smartrest/Cargo.toml | 1 | ||||
-rw-r--r-- | crates/core/c8y_translator/Cargo.toml | 1 | ||||
-rw-r--r-- | crates/core/plugin_sm/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/core/tedge/Cargo.toml | 1 | ||||
-rw-r--r-- | crates/core/tedge_agent/Cargo.toml | 4 | ||||
-rw-r--r-- | crates/core/tedge_mapper/Cargo.toml | 2 | ||||
-rw-r--r-- | crates/core/thin_edge_json/Cargo.toml | 1 | ||||
-rw-r--r-- | plugins/tedge_apt_plugin/Cargo.toml | 6 |
13 files changed, 5 insertions, 220 deletions
@@ -186,27 +186,6 @@ dependencies = [ ] [[package]] -name = "async-stream" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dad5c83079eae9969be7fadefe640a1c566901f05ff91ab221de4b6f68d9507e" -dependencies = [ - "async-stream-impl", - "futures-core", -] - -[[package]] -name = "async-stream-impl" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10f203db73a71dfa2fb6dd22763990fa26f3d2625a6da2da900d23b87d26be27" -dependencies = [ - "proc-macro2 1.0.36", - "quote 1.0.15", - "syn 1.0.88", -] - -[[package]] name = "async-trait" version = "0.1.52" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -416,7 +395,6 @@ name = "c8y_smartrest" version = "0.6.3" dependencies = [ "agent_interface", - "anyhow", "assert-json-diff", "assert_matches", "csv", @@ -445,7 +423,6 @@ dependencies = [ "clock", "criterion", "json-writer", - "pretty_assertions", "proptest", "serde_json", "test-case", @@ -739,18 +716,12 @@ dependencies = [ "asn1-rs", "displaydoc", "nom", - "num-bigint 0.4.3", + "num-bigint", "num-traits", "rusticata-macros", ] [[package]] -name = "diff" -version = "0.1.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499" - -[[package]] name = "difference" version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -844,12 +815,10 @@ dependencies = [ "reqwest", "serde", "serde_json", - "tedge_utils", "tempfile", "test-case", "thiserror", "tokio", - "tokio-test", "url", ] @@ -1136,16 +1105,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" [[package]] -name = "hamcrest2" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f837c62de05dc9cc71ff6486cd85de8856a330395ae338a04bfcefe5e91075" -dependencies = [ - "num", - "regex", -] - -[[package]] name = "hashbrown" version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1429,13 +1388,8 @@ name = "logged_command" version = "0.6.3" dependencies = [ "anyhow", - "assert_matches", - "async-trait", "log", - "serial_test 0.6.0", "tempfile", - "test-case", - "thiserror", "tokio", ] @@ -1607,7 +1561,7 @@ dependencies = [ "futures", "mqtt_tests", "rumqttc", - "serial_test 0.5.1", + "serial_test", "thiserror", "tokio", ] @@ -1701,31 +1655,6 @@ dependencies = [ ] [[package]] -name = "num" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8536030f9fea7127f841b45bb6243b27255787fb4eb83958aa1ef9d2fdc0c36" -dependencies = [ - "num-bigint 0.2.6", - "num-complex", - "num-integer", - "num-iter", - "num-rational", - "num-traits", -] - -[[package]] -name = "num-bigint" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] name = "num-bigint" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1737,16 +1666,6 @@ dependencies = [ ] [[package]] -name = "num-complex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6b19411a9719e753aff12e5187b74d60d3dc449ec3f4dc21e3989c3f554bc95" -dependencies = [ - "autocfg", - "num-traits", -] - -[[package]] name = "num-integer" version = "0.1.44" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1757,29 +1676,6 @@ dependencies = [ ] [[package]] -name = "num-iter" -version = "0.1.42" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2021c8337a54d21aca0d59a92577a029af9431cb59b909b03252b9c164fad59" -dependencies = [ - "autocfg", - "num-integer", - "num-traits", -] - -[[package]] -name = "num-rational" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" -dependencies = [ - "autocfg", - "num-bigint 0.2.6", - "num-integer", - "num-traits", -] - -[[package]] name = "num-traits" version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1853,15 +1749,6 @@ dependencies = [ ] [[package]] -name = "output_vt100" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "628223faebab4e3e40667ee0b2336d34a5b960ff60ea743ddfdbcf7770bcfb66" -dependencies = [ - "winapi", -] - -[[package]] name = "parking_lot" version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1990,15 +1877,13 @@ version = "0.6.3" dependencies = [ "agent_interface", "anyhow", - "assert_matches", "async-trait", "csv", "download", "logged_command", "serde", "serde_json", - "serial_test 0.5.1", - "tedge_utils", + "serial_test", "tempfile", "test-case", "thiserror", @@ -2063,18 +1948,6 @@ dependencies = [ ] [[package]] -name = "pretty_assertions" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c038cb5319b9c704bf9c227c261d275bfec0ad438118a2787ce47944fb228b" -dependencies = [ - "ansi_term", - "ctor", - "diff", - "output_vt100", -] - -[[package]] name = "pretty_env_logger" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2494,12 +2367,6 @@ dependencies = [ ] [[package]] -name = "rustversion" -version = "1.0.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2cc38e8fa666e2de3c4aba7edeb5ffc5246c1c2ed0e3d17e560aeeba736b23f" - -[[package]] name = "rusty-fork" version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2656,18 +2523,7 @@ checksum = "e0bccbcf40c8938196944a3da0e133e031a33f4d6b72db3bda3cc556e361905d" dependencies = [ "lazy_static", "parking_lot 0.11.2", - "serial_test_derive 0.5.1", -] - -[[package]] -name = "serial_test" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5bcc41d18f7a1d50525d080fd3e953be87c4f9f1a974f3c21798ca00d54ec15" -dependencies = [ - "lazy_static", - "parking_lot 0.11.2", - "serial_test_derive 0.6.0", + "serial_test_derive", ] [[package]] @@ -2682,19 +2538,6 @@ dependencies = [ ] [[package]] -name = "serial_test_derive" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2881bccd7d60fb32dfa3d7b3136385312f8ad75e2674aab2852867a09790cae8" -dependencies = [ - "proc-macro-error", - "proc-macro2 1.0.36", - "quote 1.0.15", - "rustversion", - "syn 1.0.88", -] - -[[package]] name = "sha-1" version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -2826,7 +2669,6 @@ dependencies = [ "base64", "certificate", "clap 3.1.6", - "futures", "hyper", "mockito", "pem", @@ -2861,7 +2703,6 @@ dependencies = [ "clap 3.1.6", "flockfile", "futures", - "mockall 0.10.2", "mqtt_channel", "mqtt_tests", "once_cell", @@ -2869,15 +2710,12 @@ dependencies = [ "predicates 2.1.1", "serde", "serde_json", - "serial_test 0.5.1", "tedge_config", - "tedge_users", "tedge_utils", "tempfile", "thiserror", "time", "tokio", - "tokio-test", "toml", "tracing", ] @@ -2897,15 +2735,9 @@ dependencies = [ name = "tedge_apt_plugin" version = "0.6.3" dependencies = [ - "anyhow", "clap 3.1.6", "csv", - "hamcrest2", - "reqwest", "serde", - "serial_test 0.5.1", - "tedge_utils", - "test-case", "thiserror", ] @@ -2916,7 +2748,6 @@ dependencies = [ "assert_matches", "certificate", "serde", - "tedge_users", "tedge_utils", "tempfile", "thiserror", @@ -2981,9 +2812,8 @@ dependencies = [ "reqwest", "serde", "serde_json", - "serial_test 0.5.1", + "serial_test", "tedge_config", - "tedge_users", "tedge_utils", "tempfile", "test-case", @@ -2991,7 +2821,6 @@ dependencies = [ "thiserror", "time", "tokio", - "tokio-test", "toml", "tracing", ] @@ -3008,9 +2837,7 @@ dependencies = [ name = "tedge_utils" version = "0.6.3" dependencies = [ - "anyhow", "assert_matches", - "futures", "nix", "tempfile", "thiserror", @@ -3107,7 +2934,6 @@ dependencies = [ "criterion", "json-writer", "mockall 0.10.2", - "proptest", "serde", "serde_json", "stats_alloc", @@ -3255,19 +3081,6 @@ dependencies = [ ] [[package]] -name = "tokio-test" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53474327ae5e166530d17f2d956afcb4f8a004de581b3cae10f12006bc8163e3" -dependencies = [ - "async-stream", - "bytes", - "futures-core", - "tokio", - "tokio-stream", -] - -[[package]] name = "tokio-tungstenite" version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" diff --git a/crates/common/download/Cargo.toml b/crates/common/download/Cargo.toml index 4d77ea5f..bf45228c 100644 --- a/crates/common/download/Cargo.toml +++ b/crates/common/download/Cargo.toml @@ -14,7 +14,6 @@ nix = "0.23" reqwest = { version = "0.11", default-features = false, features = ["rustls-tls"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -tedge_utils = { path = "../tedge_utils" } tempfile = "3.2" thiserror = "1.0" tokio = "1.12" @@ -26,4 +25,3 @@ mockito = "0.31" regex = "1.5" tempfile = "3.2" test-case = "2.0" -tokio-test = "0.4" diff --git a/crates/common/logged_command/Cargo.toml b/crates/common/logged_command/Cargo.toml index ff18d5b1..8002ceea 100644 --- a/crates/common/logged_command/Cargo.toml +++ b/crates/common/logged_command/Cargo.toml @@ -6,15 +6,10 @@ edition = "2021" rust-version = "1.58.1" [dependencies] -async-trait = "0.1" log = "0.4" -thiserror = "1.0" tokio = { version = "1.8", features = [ "fs", "io-util", "macros", "process", "rt" ] } [dev-dependencies] anyhow = "1.0" -assert_matches = "1.5" -serial_test = "0.6" tempfile = "3.2" -test-case = "2.0" diff --git a/crates/common/tedge_config/Cargo.toml b/crates/common/tedge_config/Cargo.toml index 8c4813d3..984ad91d 100644 --- a/crates/common/tedge_config/Cargo.toml +++ b/crates/common/tedge_config/Cargo.toml @@ -9,7 +9,6 @@ rust-version = "1.58.1" certificate = { path = "../certificate" } serde = { version = "1.0", features = ["derive"] } tedge_utils = { path = "../tedge_utils" } -tedge_users = { path = "../tedge_users" } tempfile = "3.2" thiserror = "1.0" toml = "0.5" diff --git a/crates/common/tedge_utils/Cargo.toml b/crates/common/tedge_utils/Cargo.toml index 17e96060..7a42e257 100644 --- a/crates/common/tedge_utils/Cargo.toml +++ b/crates/common/tedge_utils/Cargo.toml @@ -13,8 +13,6 @@ default = [] logging = ["tracing", "tracing-subscriber"] [dependencies] -anyhow = "1.0" -futures = "0.3" nix = "0.23.1" tempfile = "3.2" thiserror = "1.0" diff --git a/crates/core/c8y_smartrest/Cargo.toml b/crates/core/c8y_smartrest/Cargo.toml index 3800152c..8b21b359 100644 --- a/crates/core/c8y_smartrest/Cargo.toml +++ b/crates/core/c8y_smartrest/Cargo.toml @@ -20,7 +20,6 @@ tokio = { version = "1.8", features = ["rt", "sync", "time"] } toml = "0.5" [dev-dependencies] -anyhow = "1.0" assert_matches = "1.5" assert-json-diff = "2.0" serde_json = "1.0" diff --git a/crates/core/c8y_translator/Cargo.toml b/crates/core/c8y_translator/Cargo.toml index 61c693a7..f6fd28bf 100644 --- a/crates/core/c8y_translator/Cargo.toml +++ b/crates/core/c8y_translator/Cargo.toml @@ -17,7 +17,6 @@ anyhow = "1.0" assert_matches = "1.5" assert-json-diff = "2.0" criterion = "0.3" -pretty_assertions = "1.0" proptest = "1.0" serde_json = "1.0" test-case = "2.0" diff --git a/crates/core/plugin_sm/Cargo.toml b/crates/core/plugin_sm/Cargo.toml index a0d23788..017ed0c2 100644 --- a/crates/core/plugin_sm/Cargo.toml +++ b/crates/core/plugin_sm/Cargo.toml @@ -13,7 +13,6 @@ download = { path = "../../common/download" } logged_command = { path = "../../common/logged_command" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -tedge_utils = { path = "../../common/tedge_utils" } thiserror = "1.0" tokio = { version = "1.8", features = ["process", "rt"] } tracing = { version = "0.1", features = ["attributes", "log"] } @@ -21,7 +20,6 @@ url = "2.2" [dev-dependencies] anyhow = "1.0" -assert_matches = "1.5" serial_test = "0.5.1" tempfile = "3.2" test-case = "2.0" diff --git a/crates/core/tedge/Cargo.toml b/crates/core/tedge/Cargo.toml index 91f70ac4..bc01d456 100644 --- a/crates/core/tedge/Cargo.toml +++ b/crates/core/tedge/Cargo.toml @@ -17,7 +17,6 @@ anyhow = "1.0" base64 = "0.13" certificate = { path = "../../common/certificate" } clap = { version = "3", features = ["cargo", "derive"] } -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" diff --git a/crates/core/tedge_agent/Cargo.toml b/crates/core/tedge_agent/Cargo.toml index 1e4ddc23..6fd0bc81 100644 --- a/crates/core/tedge_agent/Cargo.toml +++ b/crates/core/tedge_agent/Cargo.toml @@ -28,7 +28,6 @@ async-trait = "0.1" clap = { version = "3.0", features = ["cargo", "derive"] } flockfile = { path = "../../common/flockfile" } futures = "0.3" -mockall = "0.10" mqtt_channel = { path = "../../common/mqtt_channel" } plugin_sm = { path = "../plugin_sm" } serde = { version = "1.0", features = ["derive"] } @@ -48,8 +47,5 @@ assert-json-diff = "2.0" once_cell = "1.8" mqtt_tests = { path = "../../tests/mqtt_tests" } predicates = "2.1" -tedge_users = { path = "../../common/tedge_users"} tedge_utils = { path = "../../common/tedge_utils"} tempfile = "3.2" -tokio-test = "0.4" -serial_test = "0.5" diff --git a/crates/core/tedge_mapper/Cargo.toml b/crates/core/tedge_mapper/Cargo.toml index cf65fa1d..cf96048c 100644 --- a/crates/core/tedge_mapper/Cargo.toml +++ b/crates/core/tedge_mapper/Cargo.toml @@ -44,7 +44,6 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" clap = { version = "3.0", features = ["cargo", "derive"] } tedge_config = { path = "../../common/tedge_config" } -tedge_users = { path = "../../common/tedge_users" } tedge_utils = { path = "../../common/tedge_utils", features = ["logging"] } thin_edge_json = { path = "../thin_edge_json" } thiserror = "1.0" @@ -64,7 +63,6 @@ serial_test = "0.5" tempfile = "3.2" test-case = "2.0" time = { version = "0.3", features = ["macros"] } -tokio-test = "0.4" [features] integration-test = [] diff --git a/crates/core/thin_edge_json/Cargo.toml b/crates/core/thin_edge_json/Cargo.toml index 66ea41d0..44be4ea7 100644 --- a/crates/core/thin_edge_json/Cargo.toml +++ b/crates/core/thin_edge_json/Cargo.toml @@ -20,7 +20,6 @@ anyhow = "1.0" clock = { path = "../../common/clock" } criterion = "0.3" mockall = "0.10" -proptest = "1.0" stats_alloc = "0.1" walkdir = "2" assert_matches = "1.5" diff --git a/plugins/tedge_apt_plugin/Cargo.toml b/plugins/tedge_apt_plugin/Cargo.toml index 4b732bd8..dd06abe6 100644 --- a/plugins/tedge_apt_plugin/Cargo.toml +++ b/plugins/tedge_apt_plugin/Cargo.toml @@ -21,12 +21,6 @@ csv = "1.1" serde = { version = "1", features = ["derive"] } [dev-dependencies] -anyhow = "1.0" -hamcrest2 = "0.3" -reqwest = { version = "0.11", default-features = false, features = [ "blocking", "rustls-tls" ] } -serial_test = "0.5" -tedge_utils = { path = "../../crates/common/tedge_utils" } -test-case = "2.0" [features] requires-sudo = [] |