/cargo-combine

A Cargo subcommand to combine workspace paths, package names, feature names to enable, and toolchain versions into a matrix.

Primary LanguageRustApache License 2.0Apache-2.0

cargo-combine

Maintenance: actively-developed License: MIT OR Apache-2.0 crates.io docs.rs Rust: ^1.74.0 GitHub Actions: CI Codecov

A Cargo subcommand that outputs a matrix of build parameters based on workspace paths, packages names, feature names to enable, and toolchain versions.

Installation

There are multiple ways to install cargo-combine. Choose any one of the methods below that best suits your needs.

Pre-built binaries

Executable binaries are available for download on the GitHub Release page.

Build from source using Rust

To build cargo-combine executable from the source, you must have the Rust toolchain installed. To install the rust toolchain, follow this guide.

Once you have installed Rust, the following command can be used to build and install cargo-combine:

# Install released version
$ cargo install cargo-combine

# Install latest version
$ cargo install --git https://github.com/gifnksm/cargo-combine.git cargo-combine

Minimum supported Rust version (MSRV)

The minimum supported Rust version is Rust 1.74.0. At least the last 3 versions of stable Rust are supported at any given time.

While a crate is a pre-release status (0.x.x) it may have its MSRV bumped in a patch release. Once a crate has reached 1.x, any MSRV bump will be accompanied by a new minor version.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.