Skip to content

Not possible to skip the empty feature set (?) #57

@JSorngard

Description

@JSorngard

Thank you so much for the extremely useful project!

I have a project that has two features where at least one of them must be enabled. I would therefore like to skip the empty feature set when running cargo-all-features.

I would expect the Cargo.toml option

[package.metadata.cargo-all-features]
skip_feature_sets = [
    [],
]

to skip the empty feature set, but instead it skips all feature sets and makes cargo-all-features do nothing.
Would this be possible to change? Alternatively this is already supported and I am just missing something obvious. In that case I apologize, but would still love to hear how I might accomplish this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions