summaryrefslogtreecommitdiff
path: root/rust-src
diff options
context:
space:
mode:
Diffstat (limited to 'rust-src')
-rw-r--r--rust-src/Cargo.lock10
-rw-r--r--rust-src/Cargo.toml1
-rw-r--r--rust-src/src/cmd_mount.rs3
3 files changed, 1 insertions, 13 deletions
diff --git a/rust-src/Cargo.lock b/rust-src/Cargo.lock
index a99cd474..091f7607 100644
--- a/rust-src/Cargo.lock
+++ b/rust-src/Cargo.lock
@@ -99,7 +99,6 @@ dependencies = [
"errno 0.2.8",
"gag",
"getset",
- "itertools",
"libc",
"log",
"parse-display",
@@ -408,15 +407,6 @@ dependencies = [
]
[[package]]
-name = "itertools"
-version = "0.9.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "284f18f85651fe11e8a991b2adb42cb078325c996ed026d994719efcfca1d54b"
-dependencies = [
- "either",
-]
-
-[[package]]
name = "lazy_static"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/rust-src/Cargo.toml b/rust-src/Cargo.toml
index d1d42b35..84107d41 100644
--- a/rust-src/Cargo.toml
+++ b/rust-src/Cargo.toml
@@ -21,7 +21,6 @@ udev = "0.7.0"
uuid = "1.2.2"
gag = "1.0.0"
getset = "0.1"
-itertools = "0.9"
parse-display = "0.1"
errno = "0.2"
either = "1.5"
diff --git a/rust-src/src/cmd_mount.rs b/rust-src/src/cmd_mount.rs
index 3f8253f5..6db109c4 100644
--- a/rust-src/src/cmd_mount.rs
+++ b/rust-src/src/cmd_mount.rs
@@ -76,12 +76,11 @@ fn parse_mount_options(options: impl AsRef<str>) -> (Option<String>, libc::c_ulo
}
});
- use itertools::Itertools;
(
if opts.len() == 0 {
None
} else {
- Some(opts.iter().join(","))
+ Some(opts.join(","))
},
flags,
)