Crates
Publishes a single Rust package or entire workspace to crates.io. If the workspace contains multiple crates, they are published in dependency order.
Configuration
Section titled “Configuration”| Option | Description |
|---|---|
noDevDeps | Strip devDependencies before publishing. Requires cargo-hack. Default: false |
Environment Variables
Section titled “Environment Variables”| Name | Description |
|---|---|
CRATES_IO_TOKEN | Access token for crates.io |
CARGO_BIN | Path to cargo. Default: cargo |
Example
Section titled “Example”targets: - name: crates noDevDeps: falsecargomust be installed and configured on the system- For workspaces, crates are published in topological order based on dependencies