REA .cargo/config.toml notes (unofficial)
For legal, authorized and educational use only. Only analyze software you own or have written permission to examine. This page is not the official REA documentation.
Quick answer
.cargo/config.toml pins Cargo local-config identity. In REA 6.7.x, treat selected build/target/registry pins as Evidence beside archive/package routes — complementing cousins without inventing APIs.
Mental model
- Authorize the .cargo/config.toml (+ artifacts you hold).
- Quote selected build/target/registry pins you actually see (never paste secrets / tokens / credentials).
- Cousins → cargo-lock · cargo-toml-workspace · cargo-metadata.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent a
inspect_cargo_configAPI REA never called.
Minimal path
# authorized .cargo/config.toml (+ artifact you hold)
# quote selected build/target/registry pins into case notes — never paste tokens
# cousins → cargo-lock / cargo-toml-workspace / cargo-metadata
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_cargo_config .
Compare
| Artifact | Honest posture |
|---|---|
| .cargo/config.toml | Cargo local-config identity facts |
| lock lane | rea-cargo-lock |
| workspace lane | rea-cargo-toml-workspace |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_cargo_config/ automatic cargo fetch runs. - No credential theft from env / tokens / registry credentials in config.
- No pirate redistribution of paid crates.
- No crack framing via config pins.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-cargo-lock?
rea-cargo-lock covers Cargo.lock Evidence. This page zooms on .cargo/config.toml local-config identity — it does not overwrite that page.
Is there inspect_cargo_config in 6.7.0?
Not assumed. Quote pins you actually open. Do not invent inspect_cargo_config.
Does REA run cargo build / fetch for you?
No. Local trees only. No credential theft.
config.toml vs Cargo.toml vs Cargo.lock?
Label Evidence by the file present. Quote build / target / registry / source pins you open — never paste tokens.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).