summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRina Fujino <18257209+rina23q@users.noreply.github.com>2022-08-03 10:03:22 +0200
committerGitHub <noreply@github.com>2022-08-03 10:03:22 +0200
commitfd178124731a39aac6384be65218a33e4e137480 (patch)
tree89146795d713d2e4f1afc0c6653ad1b857193960
parent73f3f4acdf16b8c832518cd2fc8b5bc24e309179 (diff)
parent73f74d9a38ded5b72e8b0acc9dce49fced3ea53c (diff)
Merge pull request #1317 from matthiasbeyer/remove-unused-deps
Remove unused deps
-rw-r--r--Cargo.lock9
-rw-r--r--crates/common/mqtt_channel/Cargo.toml1
-rw-r--r--crates/common/tedge_utils/Cargo.toml5
3 files changed, 2 insertions, 13 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 6cfb3a7f..56be690b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1507,12 +1507,6 @@ dependencies = [
]
[[package]]
-name = "maplit"
-version = "1.0.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
-
-[[package]]
name = "matches"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1642,7 +1636,6 @@ dependencies = [
"mqtt_tests",
"rumqttc",
"serial_test",
- "tedge_utils",
"thiserror",
"tokio",
]
@@ -2944,12 +2937,10 @@ dependencies = [
name = "tedge_utils"
version = "0.7.3"
dependencies = [
- "anyhow",
"assert_matches",
"async-stream",
"futures",
"inotify",
- "maplit",
"nix",
"strum_macros",
"tedge_test_utils",
diff --git a/crates/common/mqtt_channel/Cargo.toml b/crates/common/mqtt_channel/Cargo.toml
index 9c75e543..c4a2e352 100644
--- a/crates/common/mqtt_channel/Cargo.toml
+++ b/crates/common/mqtt_channel/Cargo.toml
@@ -12,7 +12,6 @@ async-trait = "0.1"
futures = "0.3"
fastrand = "1.8"
rumqttc = "0.10"
-tedge_utils = { path = "../tedge_utils" }
thiserror = "1.0"
tokio = { version = "1.12", features = ["rt", "time"] }
diff --git a/crates/common/tedge_utils/Cargo.toml b/crates/common/tedge_utils/Cargo.toml
index f8903534..0d1354ed 100644
--- a/crates/common/tedge_utils/Cargo.toml
+++ b/crates/common/tedge_utils/Cargo.toml
@@ -11,14 +11,12 @@ description = "tedge_utils provide utilities for thin-edge.io components"
# No features on by default
default = []
logging = ["tracing", "tracing-subscriber"]
-fs-notify = ["inotify", "async-stream", "maplit", "strum_macros", "try-traits"]
+fs-notify = ["inotify", "async-stream", "strum_macros", "try-traits"]
[dependencies]
-anyhow = "1.0"
async-stream = { version = "0.3", optional = true }
futures = "0.3"
inotify = { version = "0.10", optional = true }
-maplit = { version = "1.0", optional = true }
nix = "0.24"
strum_macros = { version = "0.24", optional = true }
tempfile = "3.2"
@@ -31,6 +29,7 @@ users = "0.11.0"
[dev-dependencies]
assert_matches = "1.5"
+maplit = "1.0"
tedge_test_utils = { path = "../../tests/tedge_test_utils" }
tokio = { version = "1.12", features = [ "rt-multi-thread"] }
whoami = "1.2.1"