[build] Enhancement: Feature Forwarding
@@ -12,7 +12,7 @@ arrayvec = "0.7.1"
anyhow = "1.0.32"
catnip = { git = "https://github.com/demikernel/catnip", rev = "v0.4", features = ["threadunsafe"] }
clap = "2.33.3"
-dpdk-rs = { git = "https://github.com/demikernel/dpdk-rs", rev = "v0.1" }
+dpdk-rs = { git = "https://github.com/demikernel/dpdk-rs", branch = "unstable" }
futures = "0.3.15"
libc = "0.2.97"
rand = { version = "0.8.4", features = ["small_rng"] }
@@ -22,3 +22,7 @@ must-let = { git = "https://github.com/sujayakar/must-let" }
[build-dependencies]
bindgen = "0.55.1"
+
+[features]
+mlx4 = ["dpdk-rs/mlx4"]
+mlx5 = ["dpdk-rs/mlx5"]
