Skip to content

Exclude certain combinations from powerset #280

@wmmc88

Description

@wmmc88

Is it possible to use cargo-hack to iterate over a feature powerset, but explicitly still skip certain combinations? For example, if my crate has the independent features: a, b, c

My understanding is --feature-powerset will run with the following combinations:

  • a
  • b
  • c
  • a, b
  • a, c
  • b, c
  • a, b, c
  • no features

Is there a way to tell cargo-hack to ignore a certain combinations here? For example, lets say I know a + c has some problems right now, can i tell cargo-hack to exclude that specific combination?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-featuresArea: features (--feature-powerset, --each-feature, etc.)C-enhancementCategory: A new feature or an improvement for an existing one

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions