Skip to content

Commit 84592b9

Browse files
committed
Upgrade nix to 0.24, limit features
This removes memoffset as an indirect dependency, and decreases build times.
1 parent 344a5c4 commit 84592b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ rand = "0.8"
3131
log = { version = "0.4", optional = true }
3232

3333
[target.'cfg(unix)'.dependencies]
34-
nix = "0.23"
34+
nix = { version = "0.24", default-features = false, features = ["fs", "mman"] }
3535
libc = "0.2"
3636

3737
[target.'cfg(windows)'.dependencies]

0 commit comments

Comments
 (0)