cargo
Available Commands
| Command | Description |
|---|---|
| dispatch | Runs an arbitrary Cargo subcommand (Terrabuild action name is forwarded to cargo). |
| build | Build project. |
| test | Runs tests with cargo test. |
Project Initializer
Computes default outputs and dependencies from Cargo.toml.
project {
@cargo { }
}
Equivalent to:
project {
ignores = [ ]
outputs = [ "target/debug/" "target/release/" ]
}