summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@ifm.com>2022-08-03 07:36:19 +0200
committerMatthias Beyer <matthias.beyer@ifm.com>2022-08-03 08:19:18 +0200
commit73f74d9a38ded5b72e8b0acc9dce49fced3ea53c (patch)
tree69d212d7f23d5e790f6be2d54acfb77bd7657ea2
parent68311004568aba7c79284d92e404c6fac6e4421c (diff)
tedge_utils: Move "maplit" to dev-dependencies
Apparently, we need this in the dev-dependencies, not in the normal dependencies. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rw-r--r--Cargo.lock7
-rw-r--r--crates/common/tedge_utils/Cargo.toml4
2 files changed, 2 insertions, 9 deletions
diff --git a/Cargo.lock b/Cargo.lock
index a4e073e2..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"
@@ -2947,7 +2941,6 @@ dependencies = [
"async-stream",
"futures",
"inotify",
- "maplit",
"nix",
"strum_macros",
"tedge_test_utils",
diff --git a/crates/common/tedge_utils/Cargo.toml b/crates/common/tedge_utils/Cargo.toml
index 630ab828..0d1354ed 100644
--- a/crates/common/tedge_utils/Cargo.toml
+++ b/crates/common/tedge_utils/Cargo.toml
@@ -11,13 +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]
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"
@@ -30,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"