Skip to content

Add the ability to exclude experimental features from consideration #315

@nmathewson

Description

@nmathewson

Describe your use case

In our project, we have a development process where some parts of our API are explicitly labeled as "experimental, and not covered by semver." Our expectation is that eventually, these parts become stable, or are removed.

We put these experimental APIs behind one or more features, each explicitly labelled as experimental in our documentation. To replace most usage of --all-features, we provide a full feature that includes all non-experimental features.

As it stands today, this setup doesn't seem compatible with cargo-semver-checks, since cargo-semver-checks always uses --all-features (that is, if I understand correctly).

Describe the solution you'd like

The easiest solution for us would be a command-line option to cause cargo-semver-checks to replace the default --all-features. Possibly something like --not-all-features --features=<explict,list> would be workable?

Alternatives, if applicable

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: raise the bar on expectations

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions