Limit nix features

This removes memoffset as an indirect dependency, and should slightly decrease build times.
This commit is contained in:
Ryan Zoeller 2022-05-01 12:12:00 -05:00 committed by Martin Nordholts
parent adea895026
commit 05ebf5ed26
2 changed files with 1 additions and 11 deletions

10
Cargo.lock generated
View File

@ -661,15 +661,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 = "miniz_oxide"
version = "0.5.1"
@ -688,7 +679,6 @@ dependencies = [
"bitflags",
"cfg-if",
"libc",
"memoffset",
]
[[package]]

View File

@ -91,7 +91,7 @@ wait-timeout = "0.2.0"
tempfile = "3.3.0"
[target.'cfg(unix)'.dev-dependencies]
nix = "0.24.1"
nix = { version = "0.24.1", default-features = false, features = ["term"] }
[build-dependencies]
clap = { version = "2.34", optional = true }