REA Cargo.toml package notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

Cargo.toml [package] pins Rust package-manifest identity. In REA 6.7.x, treat selected name / version / edition / dependency pins as Evidence beside archive/package routes — complementing workspace cousins without inventing APIs.

Mental model

  1. Authorize the Cargo.toml (+ artifacts you hold).
  2. Quote selected [package] name / version / edition pins you actually see (never paste registry tokens).
  3. Cousins → cargo-toml-workspace · cargo-lock · rust-toolchain-toml.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_cargo_toml API REA never called.

Minimal path

# authorized Cargo.toml (+ artifact you hold)
# quote selected [package] name/version/edition pins into case notes
# cousins → peer workspace / lock / toolchain lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_cargo_toml .

Compare

ArtifactHonest posture
Cargo.toml [package]Rust package-manifest identity facts
workspace peerrea-cargo-toml-workspace
lock peerrea-cargo-lock
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_cargo_toml / automatic builds against foreign projects.
  • No credential theft from crates.io / private registry tokens.
  • No pirate redistribution of proprietary crate manifests.
  • No crack framing via Cargo.toml pins.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-cargo-toml-workspace?

rea-cargo-toml-workspace zooms on the [workspace] table. This page zooms on Cargo.toml [package] identity (name/version/edition) — it does not overwrite that page.

Is there inspect_cargo_toml in 6.7.0?

Not assumed. Quote name / version / edition / dependencies pins you actually open, then use documented package/archive lanes. Do not invent inspect_cargo_toml.

Does REA run cargo build or call crates.io for you?

No. Local trees only. Redact registry tokens; do not treat REA as a build runner. No credential theft.

[package] vs [workspace] vs Cargo.lock?

Label Evidence by the table/file present. Keep this package lane separate from rea-cargo-toml-workspace and rea-cargo-lock.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources