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 cross's compile time slightly, and removes memoffset as an indirect dependency.
  • Loading branch information
rtzoeller committed Apr 21, 2022
1 parent e7e7cfe commit 3e1bd6f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 51 deletions.
82 changes: 32 additions & 50 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ serde_json = "1"
serde_ignored = "0.1.2"

[target.'cfg(not(windows))'.dependencies]
nix = "0.23"
nix = { version = "0.24", default-features = false, features = ["user"] }
libc = "0.2"

[target.'cfg(windows)'.dependencies]
Expand Down

0 comments on commit 3e1bd6f

Please sign in to comment.