From 09700478eb034d9e08175e867157690efb9392f4 Mon Sep 17 00:00:00 2001 From: Ruoqing He Date: Mon, 28 Apr 2025 07:35:04 +0000 Subject: [PATCH] runtime-rs: Group Dependencies from `rust-netlink` `rtnetlink`, `netlink-sys` and `netlink-packet-route` are from the same organization, and some of them are depending on the others, which implies the version of those crates should be chosen and dealt with carefully, group them to provide better management. Signed-off-by: Ruoqing He --- src/runtime-rs/crates/resource/Cargo.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/runtime-rs/crates/resource/Cargo.toml b/src/runtime-rs/crates/resource/Cargo.toml index 3c6cf32bd9..fd2dbccbc3 100644 --- a/src/runtime-rs/crates/resource/Cargo.toml +++ b/src/runtime-rs/crates/resource/Cargo.toml @@ -22,11 +22,8 @@ futures = "0.3.11" lazy_static = { workspace = true } libc = { workspace = true } netns-rs = { workspace = true } -netlink-sys = "0.8.3" -netlink-packet-route = "0.19.0" nix = { workspace = true } rand = { workspace = true } -rtnetlink = "0.14.0" scopeguard = "1.0.0" serde = { workspace = true } serde_json = { workspace = true } @@ -37,6 +34,11 @@ tracing = { workspace = true } uuid = { version = "0.4", features = ["v4"] } oci-spec = { workspace = true } +## Dependencies from `rust-netlink` +netlink-packet-route = "0.19.0" +netlink-sys = "0.8.3" +rtnetlink = "0.14.0" + # Local dependencies agent = { workspace = true } hypervisor = { workspace = true }