baptiste0928/cargo-install
GitHub action for cache-efficient Rust crates installation
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| crate | Name of the crate to install | yes | — |
| features | Features of the crate to enable. | no | — |
| locked | Use the crate Cargo.lock if available. | no | true |
| args | Arguments added to the `cargo install` command. | no | — |
| cache-key | Additional key added to the automatic cache key. | no | — |
| version | Version of the crate to install. | yes | latest |
| registry | Registry to install the crate from. | no | — |
| index | Registry index to install the crate from. | no | — |
| git | Git repository to install the crate from. | no | — |
| branch | Branch to install the crate from. | no | — |
| tag | Tag to install the crate from. | no | — |
| commit | Commit to install the crate from. | no | — |
| rev | Commit to install the crate from. | no | — |
Outputs
| name | description |
|---|---|
| version | The version of the crate that has been installed. |
| cache-hit | A boolean indicating whether the crate was restored from cache. |