REA .cargo/config.toml notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
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

  1. Authorize the .cargo/config.toml (+ artifacts you hold).
  2. Quote selected build/target/registry pins you actually see (never paste secrets / tokens / credentials).
  3. Cousins → cargo-lock · cargo-toml-workspace · cargo-metadata.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a inspect_cargo_config API 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

ArtifactHonest posture
.cargo/config.tomlCargo local-config identity facts
lock lanerea-cargo-lock
workspace lanerea-cargo-toml-workspace
Evidence binderrea-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).

Sources