From d5487a89e10ee8d32c348e46d0c2e75c502b6318 Mon Sep 17 00:00:00 2001 From: leemeo3 <117142323+leemeo3@users.noreply.github.com> Date: Tue, 9 Jun 2026 20:23:00 +0900 Subject: [PATCH] Move rp netlink dependencies to workspace --- Cargo.toml | 6 ++++++ rp/Cargo.toml | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 3159791c..07aa973b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -99,3 +99,9 @@ rustix = { version = "1.1.4", features = ["net", "fs", "process"] } futures = "0.3" futures-util = "0.3" x25519-dalek = "2" +ctrlc = "3.2" +genetlink = "0.2" +rtnetlink = "0.21" +netlink-packet-core = "0.8.1" +netlink-packet-generic = "0.4" +netlink-packet-wireguard = "0.4" diff --git a/rp/Cargo.toml b/rp/Cargo.toml index 776b2a75..eb33e57b 100644 --- a/rp/Cargo.toml +++ b/rp/Cargo.toml @@ -36,12 +36,12 @@ futures = { workspace = true } futures-util = { workspace = true } [target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies] -ctrlc = "3.2" -genetlink = "0.2" -rtnetlink = "0.21" -netlink-packet-core = "0.8.1" -netlink-packet-generic = "0.4" -netlink-packet-wireguard = "0.4" +ctrlc = { workspace = true } +genetlink = { workspace = true } +rtnetlink = { workspace = true } +netlink-packet-core = { workspace = true } +netlink-packet-generic = { workspace = true } +netlink-packet-wireguard = { workspace = true } [dev-dependencies] tempfile = { workspace = true }