From cf91d1defab95cdabfb542ad2f92ac04c510e437 Mon Sep 17 00:00:00 2001 From: Patrick Roy Date: Wed, 1 Oct 2025 12:10:26 +0100 Subject: [PATCH] configure cargo-all-features Set it up so that it does not try to combine the xen and postcopy features, and also ignore the test-only test_utils feature. Signed-off-by: Patrick Roy --- vhost-user-backend/Cargo.toml | 5 +++++ vhost/Cargo.toml | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/vhost-user-backend/Cargo.toml b/vhost-user-backend/Cargo.toml index 9e380a2..df840c0 100644 --- a/vhost-user-backend/Cargo.toml +++ b/vhost-user-backend/Cargo.toml @@ -28,3 +28,8 @@ uuid = { version = "1.8.0", features=["v4"] } vhost = { path = "../vhost", version = "0.14.0", features = ["test-utils", "vhost-user-frontend", "vhost-user-backend"] } vm-memory = { workspace = true, features = ["backend-mmap", "backend-atomic"] } tempfile = "3.2.0" + +[package.metadata.cargo-all-features] +skip_feature_sets = [ + ["xen", "postcopy"] +] \ No newline at end of file diff --git a/vhost/Cargo.toml b/vhost/Cargo.toml index 355490a..88a02c3 100644 --- a/vhost/Cargo.toml +++ b/vhost/Cargo.toml @@ -37,3 +37,10 @@ vm-memory = { workspace = true, features=["backend-mmap"] } [dev-dependencies] tempfile = "3.2.0" serial_test = "3.0" + +[package.metadata.cargo-all-features] +skip_feature_sets = [ + ["xen", "postcopy"] +] + +denylist = ["test_utils"]