mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
Update nix
crate to 0.25
and narrow features (#6924)
Avoids compiling the crate twice due to incompatible versions from dependencies. This avoids binary bloat before linking as well. Narrow our feature selection to the used modules/functions to save compile time. On my machine reduces `nix` crate compile time from around 9 secs to 0.9 secs.
This commit is contained in:
committed by
GitHub
parent
834522d002
commit
8838815737
@ -18,7 +18,7 @@ libc = "0.2"
|
||||
log = "0.4"
|
||||
|
||||
[target.'cfg(target_family = "unix")'.dependencies]
|
||||
nix = "0.24"
|
||||
nix = { version = "0.25", default-features = false, features = ["fs", "term", "process", "signal"]}
|
||||
atty = "0.2"
|
||||
|
||||
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
|
||||
|
Reference in New Issue
Block a user