on master help sign in
Limit nix features

This removes memoffset as an indirect dependency, and should slightly decrease build times.

commit05ebf5ed26805f517d6011de4e6b623edec57f23 authorRyan Zoeller <rtzoeller@rtzoeller.com> dateSun 1 May 2022, 12:12 (5 years ago) parentadea895
2 files changed+1−11
Cargo.lock−10 Cargo.toml+1−1
Cargo.lock−10
@@ -661,15 +661,6 @@ version = "2.4.1"
661661source = "registry+https://github.com/rust-lang/crates.io-index"
662662checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
663663
664−[[package]]
665−name = "memoffset"
666−version = "0.6.5"
667−source = "registry+https://github.com/rust-lang/crates.io-index"
668−checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce"
669−dependencies = [
670− "autocfg",
671−]
672−
673664[[package]]
674665name = "miniz_oxide"
675666version = "0.5.1"
@@ -688,7 +679,6 @@ dependencies = [
688679 "bitflags",
689680 "cfg-if",
690681 "libc",
691− "memoffset",
692682]
693683
694684[[package]]
Cargo.toml+1−1
@@ -91,7 +91,7 @@ wait-timeout = "0.2.0"
9191tempfile = "3.3.0"
9292
9393[target.'cfg(unix)'.dev-dependencies]
94−nix = "0.24.1"
94+nix = { version = "0.24.1", default-features = false, features = ["term"] }
9595
9696[build-dependencies]
9797clap = { version = "2.34", optional = true }