Limit nix features (#382)

This commit is contained in:
Ryan Zoeller 2022-04-24 22:56:05 -05:00 committed by GitHub
parent 094baaa998
commit bf54e7f0cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 11 deletions

10
Cargo.lock generated
View File

@ -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]]

View File

@ -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"] }