diff --git a/docs/packaging/package.yml.md b/docs/packaging/package.yml.md index ac87011f4..0ad772a31 100644 --- a/docs/packaging/package.yml.md +++ b/docs/packaging/package.yml.md @@ -214,6 +214,15 @@ Existing Haskell packages may use the old `cabal_build`, `cabal_install`, `cabal | **%gem_build** | Runs `gem build`. | | **%gem_install** | Runs `gem install` with the appropriate parameters. | +### Rust (cargo) actionable macros + +| Macro | Description | +| ------------------ | -------------------------------------------------------------------------------- | +| **%cargo_fetch** | Runs `cargo fetch --locked` to get dependencies. | +| **%cargo_build** | Runs `cargo build` with some additional flags. | +| **%cargo_install** | Installs the built binary to `/usr/bin/PACKAGE-NAME`, OR to `/usr/bin/ARGUMENT ` | +| **%cargo_test** | Runs `cargo test` with some additional flags | + ### Qt actionable macros | Macro | Description |