REA Cargo.lock notes (unofficial)

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

Cargo.lock pins Rust package identity. In REA 6.7.x, treat those pins as Evidence beside Rust/archive routes — complementing rea-cargo-metadata.

Mental model

  1. Authorize Cargo.lock (+ Cargo.toml / built targets you hold).
  2. Quote selected package name/version/source pins you actually see.
  3. Metadata posture → rea-cargo-metadata; vendor → rea-cargo-vendor; workspace → rea-cargo-workspace.
  4. Built binaries → rea-rust-binaries.
  5. Do not invent a cargo tree graph REA never ran.

Minimal path

# authorized Cargo.lock (+ Cargo.toml / target artifact you hold)
# quote selected package pins into case notes
# REA Rust/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_cargo_lock .

Compare

ArtifactHonest posture
Cargo.lockLock pin facts
Cargo metadata posturerea-cargo-metadata
Vendor / workspace cousinsrea-cargo-vendor / rea-cargo-workspace
Built binariesrea-rust-binaries

Scope we will not cover

  • No inventing inspect_cargo_lock / automatic crates.io crawlers.
  • No crates.io/private-registry credential theft.
  • No pirate redistribution of paid crates.
  • No crack framing for commercial Rust apps.

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

FAQ

How is this different from rea-cargo-metadata?

rea-cargo-metadata covers manifest/metadata posture broadly. This page zooms on Cargo.lock pin identity as Evidence — it does not overwrite that page.

Is there inspect_cargo_lock in 6.7.0?

Not assumed. Quote lock package pins you actually open, then use documented Rust/archive lanes. Do not invent inspect_cargo_lock.

Does REA run cargo fetch / talk to crates.io?

No. Local trees only. No crates.io credential theft.

Cargo.lock vs vendor / workspace?

See rea-cargo-vendor and rea-cargo-workspace — label Evidence by the artifact present.

npm version checked?

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

Sources