From 288d1afdb9c06529bd1d89de850da563e3666fa1 Mon Sep 17 00:00:00 2001 From: Nils Andreas Svee Date: Tue, 21 Jul 2026 10:34:17 +0700 Subject: [PATCH] chore(deps): switch netlink dependencies from git to crates.io --- Cargo.lock | 15 ++++++--------- Cargo.toml | 4 ++-- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fb1082e..4ffc7a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -251,24 +251,21 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" -[[package]] -name = "netlink-bindings" -version = "0.3.1" -source = "git+https://github.com/one-d-wide/netlink-bindings.git?rev=0b609e9380610e7da73f8c43cdf804a1d1bf5474#0b609e9380610e7da73f8c43cdf804a1d1bf5474" - [[package]] name = "netlink-bindings" version = "0.3.3" -source = "git+https://github.com/one-d-wide/netlink-bindings.git?rev=928e9ca5395701db8b7998684689fa6c72506ca0#928e9ca5395701db8b7998684689fa6c72506ca0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "114816d03a633cef7cfa951721dafbda16bb1ff6af83393ee568ec2d4e4ded2d" [[package]] name = "netlink-socket2" version = "0.3.3" -source = "git+https://github.com/one-d-wide/netlink-bindings.git?rev=928e9ca5395701db8b7998684689fa6c72506ca0#928e9ca5395701db8b7998684689fa6c72506ca0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11193969f046efafdc9d8670d395a6ddcf9b806169f504e520a35dc95cab3241" dependencies = [ "libc", "maybe-async", - "netlink-bindings 0.3.3", + "netlink-bindings", ] [[package]] @@ -433,7 +430,7 @@ dependencies = [ "icmp-socket2", "libc", "log", - "netlink-bindings 0.3.3", + "netlink-bindings", "netlink-socket2", "rust-uci", "rustix", diff --git a/Cargo.toml b/Cargo.toml index 3ef068f..546ded4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,8 +32,8 @@ features = ["std"] version = "0.4" [target.'cfg(target_os = "linux")'.dependencies] -netlink-bindings = { git = "https://github.com/one-d-wide/netlink-bindings.git", rev = "928e9ca5395701db8b7998684689fa6c72506ca0", features = ["rt-link", "tc"] } -netlink-socket2 = { git = "https://github.com/one-d-wide/netlink-bindings.git", rev = "928e9ca5395701db8b7998684689fa6c72506ca0" } +netlink-bindings = { version = "0.3.3", features = ["rt-link", "tc"] } +netlink-socket2 = { version = "0.3.3" } rust-uci = { git = "https://github.com/namib-project/rust-uci.git", rev = "3e7b6153b6df92b45428c32bb6461756563deecb", optional = true } [features]