diff --git a/Cargo.lock b/Cargo.lock index 6623e9f..b23d07c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -374,15 +374,6 @@ version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" -[[package]] -name = "memoffset" -version = "0.6.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" -dependencies = [ - "autocfg", -] - [[package]] name = "mime" version = "0.3.16" @@ -414,7 +405,6 @@ dependencies = [ "bitflags", "cfg-if", "libc", - "memoffset", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 1edb138..8779684 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,7 +29,7 @@ ordered-float = "2.0.0" serde = { version = "1.0.116", features = ["derive"] } [target.'cfg(unix)'.dependencies] -nix = "0.24.1" +nix = { version = "0.24.1", default-features = false, features = ["fs", "user"] } [build-dependencies] clap = { version = "3.1.0", features = ["derive"] }