lib: Use workspace nix version

We have a note in the workspace Cargo.toml that the version
there needs to be in sync with the libs versions, so just update
them to use the workspace version rather than manually managing this.

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman
2026-06-16 17:15:18 +01:00
parent ec55a74969
commit b37b81bb75
4 changed files with 5 additions and 5 deletions

View File

@@ -16,7 +16,7 @@ byteorder = "1.4.3"
fail = "0.5.1"
lazy_static = "1.4.0"
libc = "0.2.100"
nix = "0.26.4"
nix = { workspace = true }
serde = { version = "1.0.138", features = ["derive"] }
serde_json = "1.0.73"
slog = "2.5.2"

View File

@@ -29,7 +29,7 @@ serde-enum-str = "0.5"
sysinfo = "0.34.2"
sha2 = "0.10.8"
flate2 = "1.1"
nix = "0.26.4"
nix = { workspace = true }
oci-spec = { version = "0.8.1", features = ["runtime"] }
gpt = "4.1.0"
scopeguard = "1.0.0"
@@ -42,7 +42,7 @@ sysctl = "0.7.1"
[dev-dependencies]
tempfile = "3.19.1"
test-utils = { path = "../test-utils" }
nix = "0.26.4"
nix = { workspace = true }
rstest = "0.18"
[features]

View File

@@ -13,7 +13,7 @@ edition = "2018"
[dependencies]
anyhow = "^1.0"
nix = "0.26.4"
nix = { workspace = true }
tokio = { version = "1.44.2", features = ["rt-multi-thread"] }
hyper = { version = "0.14.20", features = ["stream", "server", "http1"] }
hyperlocal = "0.8"

View File

@@ -12,5 +12,5 @@ license = "Apache-2.0"
edition = "2018"
[dependencies]
nix = "0.26.4"
nix = { workspace = true }
libc = "0.2"