Skip to content

Commit

Permalink
Upgrade nix to 0.24, limit features
Browse files Browse the repository at this point in the history
This reduces compilation time slightly, and removes the memoffset crate
as an indirect dependency.
  • Loading branch information
rtzoeller authored and Detegr committed Apr 23, 2022
1 parent d21a0e5 commit 59e1ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ edition = "2018"
readme = "README.md"

[target.'cfg(unix)'.dependencies]
nix = "0.23"
nix = { version = "0.24", default-features = false, features = ["fs", "signal"]}

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["consoleapi", "handleapi", "synchapi", "winbase"] }
Expand Down

0 comments on commit 59e1ab0

Please sign in to comment.