Skip to content

TheHackerApp/feature-powerset-action

Repository files navigation

feature-powerset-action

A composite action for generating a powerset of features for a Rust crate. This is intended to be used as the precursor to one or more matrix builds.

The action parses the Cargo.toml file and extracts the features from the [features] table. After which, the powerset is generated and output as a JSON array that can be used by other jobs or steps.

Inputs

All inputs are optional.

Name Description Default
manifest The path to the Cargo.toml file. Cargo.toml

Outputs

Name Description
features The powerset of features as a JSON array.

About

Generate a powerset of features from a Cargo manifest

Topics

Resources

License

Stars

Watchers

Forks