diff --git a/Cargo.lock b/Cargo.lock index df8805a..7553fb8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -357,15 +357,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 = "nix" version = "0.24.1" @@ -375,7 +366,6 @@ dependencies = [ "bitflags", "cfg-if", "libc", - "memoffset", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 636d8c3..02014bd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,7 +57,7 @@ features = ["suggestions", "color", "wrap_help", "cargo", "unstable-grouped"] [target.'cfg(unix)'.dependencies] users = "0.11.0" -nix = "0.24.1" +nix = { version = "0.24.1", default-features = false, features = ["signal"] } [target.'cfg(all(unix, not(target_os = "redox")))'.dependencies] libc = "0.2"