From ce17dcd5231297f5c7c0a3c2e4ba8856b5908521 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 12 Nov 2023 15:36:40 +0100 Subject: [PATCH] Update the nix dependency --- Cargo.lock | 17 +++-------------- acme_common/Cargo.toml | 2 +- acmed/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 34ccf8c..fe301bc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -933,15 +933,6 @@ version = "2.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" -[[package]] -name = "memoffset" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" -dependencies = [ - "autocfg", -] - [[package]] name = "mime" version = "0.3.17" @@ -1003,15 +994,13 @@ dependencies = [ [[package]] name = "nix" -version = "0.26.4" +version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" +checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.1", "cfg-if", "libc", - "memoffset", - "pin-utils", ] [[package]] diff --git a/acme_common/Cargo.toml b/acme_common/Cargo.toml index b89e296..6df38a9 100644 --- a/acme_common/Cargo.toml +++ b/acme_common/Cargo.toml @@ -36,4 +36,4 @@ syslog = "6.0" toml = "0.8" [target.'cfg(unix)'.dependencies] -nix = "0.26" +nix = "0.27" diff --git a/acmed/Cargo.toml b/acmed/Cargo.toml index 66c6a29..d1f0504 100644 --- a/acmed/Cargo.toml +++ b/acmed/Cargo.toml @@ -39,7 +39,7 @@ reqwest = "0.11.16" minijinja = "1.0.3" [target.'cfg(unix)'.dependencies] -nix = "0.26" +nix = { version = "0.27", features = ["fs", "user"] } [build-dependencies] serde = { version = "1.0", features = ["derive"] }