REA cargo-release TOML notes (unofficial)
cargo-release (release.toml / [package.metadata.release]) pins Rust bump/tag/publish identity. In REA 6.7.x, treat selected bump/tag/publish labels as Evidence beside archive/package routes — complementing GoReleaser cousins without inventing APIs. Chosen instead of a goreleaser-yml near-dupe of rea-goreleaser.
Mental model
- Authorize the cargo-release project tree (+ packaged configs you hold).
- Quote selected bump/tag/publish labels you actually see (never paste secrets).
- Cousins → goreleaser · cargo-toml · cargo-lock · semantic-release.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_cargo_release_tomlAPI REA never called.
Minimal path
# authorized release.toml / Cargo.toml [package.metadata.release] (+ artifact you hold)
# quote selected bump/tag/publish labels into case notes
# cousins → peer lanes above
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_cargo_release_toml .
Compare
| Artifact | Honest posture |
|---|---|
| release.toml / [package.metadata.release] | Rust release bump/tag identity facts |
| Peer | rea-goreleaser |
| Peer | rea-cargo-toml |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote bump levels, tag prefixes, and publish flags — enough for most Evidence binders.
- Registry tokens and signing keys often embed secrets — record key names only.
- Keep cargo-release distinct from GoReleaser YAML and Cargo.toml manifests in case notes.
- Pre-release / dependent version hooks are identity Evidence — label them separately from cousin pages.
- Select keys are useful inventory — quote them without inventing REA helpers for
cargo release.
Scope we will not cover
- No inventing
inspect_cargo_release_toml/ automatic attacks against foreign cargo-release hosts. - No credential theft from tokens, CI secrets, or remote URIs.
- No pirate redistribution of proprietary cargo-release trees.
- No crack framing via cargo-release pins.
- No cookbooks that weaken remote auth on foreign services.
Honest limits
RepoRead documents config literacy — how authorized cargo-release TOML trees relate to Evidence — not a full cargo-release course. Prefer upstream cargo-release docs for config details. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-goreleaser / rea-cargo-toml?
rea-goreleaser covers GoReleaser YAML. rea-cargo-toml covers crate manifests. This page zooms on cargo-release TOML identity — it does not overwrite those pages. Chosen instead of a goreleaser-yml near-dupe of goreleaser.
Is there inspect_cargo_release_toml in 6.7.0?
Not assumed. Quote bump/tag/publish labels you actually open, then use documented package/archive lanes. Do not invent inspect_cargo_release_toml.
Does REA connect to crates.io or steal credentials?
No. Local trees only. Redact tokens, credentials, and remote URIs; do not treat REA as a cargo-release runner. No credential theft.
How should I label Evidence vs other Rust/release files?
Label Evidence by the file present. Keep cargo-release TOML separate from rea-goreleaser and rea-cargo-toml.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).