From b3a80dd36ebe8551b236a736b64ae674998923ae Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Tue, 26 Aug 2025 15:10:57 +0200 Subject: [PATCH] maint: Remove Cargo.toml patch constraints (cherry picked from commit 155550be6a8487771ddb67d09f3eba829e54e622) --- rust/nix-c-raw/Cargo.toml | 4 ++-- rust/nix-expr/Cargo.toml | 10 +++++----- rust/nix-fetchers/Cargo.toml | 8 ++++---- rust/nix-flake/Cargo.toml | 10 +++++----- rust/nix-store/Cargo.toml | 6 +++--- rust/nix-util/Cargo.toml | 4 ++-- 6 files changed, 21 insertions(+), 21 deletions(-) diff --git a/rust/nix-c-raw/Cargo.toml b/rust/nix-c-raw/Cargo.toml index 4bb530a..d19b4fa 100644 --- a/rust/nix-c-raw/Cargo.toml +++ b/rust/nix-c-raw/Cargo.toml @@ -9,5 +9,5 @@ license = "LGPL-2.1" path = "src/lib.rs" [build-dependencies] -bindgen = "0.69.4" -pkg-config = "0.3.30" +bindgen = "0.69" +pkg-config = "0.3" diff --git a/rust/nix-expr/Cargo.toml b/rust/nix-expr/Cargo.toml index 08c5e37..0cd087b 100644 --- a/rust/nix-expr/Cargo.toml +++ b/rust/nix-expr/Cargo.toml @@ -8,11 +8,11 @@ license = "LGPL-2.1" path = "src/lib.rs" [dependencies] -anyhow = "1.0.79" +anyhow = "1.0" nix-store = { path = "../nix-store" } nix-util = { path = "../nix-util" } nix-c-raw = { path = "../nix-c-raw" } -lazy_static = "1.4.0" -ctor = "0.2.7" -tempfile = "3.10.1" -cstr = "0.2.12" +lazy_static = "1.4" +ctor = "0.2" +tempfile = "3.10" +cstr = "0.2" diff --git a/rust/nix-fetchers/Cargo.toml b/rust/nix-fetchers/Cargo.toml index 31d12c5..721aeb9 100644 --- a/rust/nix-fetchers/Cargo.toml +++ b/rust/nix-fetchers/Cargo.toml @@ -8,10 +8,10 @@ license = "LGPL-2.1" path = "src/lib.rs" [dependencies] -anyhow = "1.0.79" +anyhow = "1.0" nix-store = { path = "../nix-store" } nix-util = { path = "../nix-util" } nix-c-raw = { path = "../nix-c-raw" } -ctor = "0.2.7" -tempfile = "3.10.1" -cstr = "0.2.12" +ctor = "0.2" +tempfile = "3.10" +cstr = "0.2" diff --git a/rust/nix-flake/Cargo.toml b/rust/nix-flake/Cargo.toml index 0121902..78fd715 100644 --- a/rust/nix-flake/Cargo.toml +++ b/rust/nix-flake/Cargo.toml @@ -8,13 +8,13 @@ license = "LGPL-2.1" path = "src/lib.rs" [dependencies] -anyhow = "1.0.79" +anyhow = "1.0" nix-expr = { path = "../nix-expr" } nix-fetchers = { path = "../nix-fetchers" } nix-store = { path = "../nix-store" } nix-util = { path = "../nix-util" } nix-c-raw = { path = "../nix-c-raw" } -lazy_static = "1.4.0" -ctor = "0.2.7" -tempfile = "3.10.1" -cstr = "0.2.12" +lazy_static = "1.4" +ctor = "0.2" +tempfile = "3.10" +cstr = "0.2" diff --git a/rust/nix-store/Cargo.toml b/rust/nix-store/Cargo.toml index 2d3764e..a7ea036 100644 --- a/rust/nix-store/Cargo.toml +++ b/rust/nix-store/Cargo.toml @@ -9,10 +9,10 @@ license = "LGPL-2.1" path = "src/lib.rs" [dependencies] -anyhow = "1.0.79" +anyhow = "1.0" nix-util = { path = "../nix-util" } nix-c-raw = { path = "../nix-c-raw" } -lazy_static = "1.4.0" +lazy_static = "1.4" [build-dependencies] -pkg-config = "0.3.30" +pkg-config = "0.3" diff --git a/rust/nix-util/Cargo.toml b/rust/nix-util/Cargo.toml index 6293092..cefbbb8 100644 --- a/rust/nix-util/Cargo.toml +++ b/rust/nix-util/Cargo.toml @@ -8,6 +8,6 @@ license = "LGPL-2.1" path = "src/lib.rs" [dependencies] -anyhow = "1.0.79" +anyhow = "1.0" nix-c-raw = { path = "../nix-c-raw" } -ctor = "0.2.7" +ctor = "0.2"