diff --git a/Cargo.lock b/Cargo.lock index fe6dbef0542..28290ad2281 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -755,9 +755,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.146" +version = "0.2.149" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f92be4933c13fd498862a9e02a3055f8a8d9c039ce33db97306fd5a6caa7f29b" +checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" [[package]] name = "libcryptsetup-rs" @@ -882,6 +882,15 @@ dependencies = [ "autocfg", ] +[[package]] +name = "memoffset" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +dependencies = [ + "autocfg", +] + [[package]] name = "minimal-lexical" version = "0.2.1" @@ -921,11 +930,23 @@ dependencies = [ "bitflags 1.3.2", "cfg-if 1.0.0", "libc", - "memoffset", + "memoffset 0.7.1", "pin-utils", "static_assertions", ] +[[package]] +name = "nix" +version = "0.27.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" +dependencies = [ + "bitflags 2.4.0", + "cfg-if 1.0.0", + "libc", + "memoffset 0.9.0", +] + [[package]] name = "nom" version = "7.1.3" @@ -1321,7 +1342,7 @@ dependencies = [ "libudev", "log", "loopdev", - "nix 0.26.2", + "nix 0.27.1", "pkg-config", "predicates", "pretty-hex", diff --git a/Cargo.toml b/Cargo.toml index be5b7d5e8a9..d7c918930e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -154,7 +154,8 @@ version = "0.4.14" optional = true [dependencies.nix] -version = "0.26.0" +version = "0.27.1" +features = ["fs", "ioctl", "mount", "poll", "process", "sched", "socket"] optional = true [dependencies.pretty-hex]