stellar_contract_build
Compile Rust source code into a Soroban smart contract, configure build features, and output WASM files for deployment.
Instructions
Build a Soroban contract from Rust source code
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Key-value pairs to add to contract metadata | |
| out_dir | No | Directory to copy built WASM files to | |
| package | No | Specific package to build in workspace | |
| profile | No | Build profile (default: release) | |
| features | No | Features to activate during build | |
| all_features | No | Build with all features activated | |
| manifest_path | No | Path to Cargo.toml file | |
| no_default_features | No | Build without default features | |
| print_commands_only | No | Only print build commands without executing |