Skip to content

Commit d3918ee

Browse files
committed
[#269] Restrict number of feature permutations to test
Most of the possible permutations of features that are currently being tested in the nightly job are not relevant in practice. The set of feature combinations has therefore been drastically reduced in order to prevent useless combinations from being tested and the GitHub Agent runner to run out of disk space.
1 parent 70e0bef commit d3918ee

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,18 @@ codegen-units = 1
8181
[package.metadata.docs.rs]
8282
all-features = true
8383

84+
[package.metadata.cargo-all-features]
85+
# we currently do not have implementations for these features
86+
# so there is no need to test compatibility with other features
87+
denylist = ["udiscovery", "utwin"]
88+
skip_feature_sets = [
89+
# communication includes usubscription
90+
["communication", "usubscription"],
91+
]
92+
# optional dependencies are activated by means of features only
93+
skip_optional_dependencies = true
94+
max_combination_size = 3
95+
8496
[[example]]
8597
name = "simple_notify"
8698
required-features = ["communication", "util"]

0 commit comments

Comments
 (0)