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 <patrick.roy@linux.dev>
This commit is contained in:
Patrick Roy 2025-10-01 12:10:26 +01:00 committed by Stefano Garzarella
parent 2cc12f642e
commit cf91d1defa
2 changed files with 12 additions and 0 deletions

View file

@ -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"]
]

View file

@ -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"]