summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Zoeller <rtzoeller@rtzoeller.com>2022-05-01 12:12:00 -0500
committerMartin Nordholts <enselic@gmail.com>2022-05-05 06:24:26 +0200
commit05ebf5ed26805f517d6011de4e6b623edec57f23 (patch)
tree5a1bf85bc74502b5a3bd69b2c94fb337036b9b5c
parentadea8950267e2f0d242d033a1ef3140702ad01a2 (diff)
Limit nix features
This removes memoffset as an indirect dependency, and should slightly decrease build times.
-rw-r--r--Cargo.lock10
-rw-r--r--Cargo.toml2
2 files changed, 1 insertions, 11 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 617c0a78..3345565c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -662,15 +662,6 @@ 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"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -688,7 +679,6 @@ dependencies = [
"bitflags",
"cfg-if",
"libc",
- "memoffset",
]
[[package]]
diff --git a/Cargo.toml b/Cargo.toml
index 32c58f7d..7a48b3cf 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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 }