REA cargo vendor notes (unofficial)

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

Cargo vendor/ trees (from cargo vendor) freeze crate source identity for offline/air-gapped builds. In REA 6.7.x, treat vendored trees as Evidence beside Cargo metadata routes — complementing rea-cargo-metadata.

Mental model

  1. Authorize the vendor/ export (+ Cargo.toml / Cargo.lock you hold).
  2. Quote selected crate directory names/versions and whether vendor/config.toml (or equivalent) exists.
  3. Lock/metadata facts → rea-cargo-metadata.
  4. Built Rust/static binaries → rea-go-rust-static / native diagnostics on absolute paths.
  5. Do not invent a crates.io crawl REA never performed.

Minimal path

# authorized vendor/ (+ Cargo.lock / local .rlib/.a/binaries you hold)
# quote selected crate identities into case notes
# REA archive/native routes on /absolute/path/artifact --json
# do not invent: rea inspect_cargo_vendor .

Compare

ArtifactHonest posture
vendor/ treeVendored crate identity facts
Cargo.lock / metadatarea-cargo-metadata
Rust/static binariesrea-go-rust-static
Go module cousinrea-go-modules

Scope we will not cover

  • No inventing inspect_cargo_vendor / automatic crates.io harvesters.
  • No Cargo/registry credential theft.
  • No pirate redistribution of paid crates from a vendor tree.
  • No crack framing for commercial Rust apps.

RepoRead is unofficial. Prefer vendor/archive honesty + DISCLAIMER.md.

FAQ

How is this different from rea-cargo-metadata?

rea-cargo-metadata covers Cargo metadata / lock identity themes. This page is the vendored source tree (vendor/ from cargo vendor) as Evidence beside those facts.

Is there inspect_cargo_vendor in 6.7.0?

Not assumed. Quote vendored crate paths/versions you actually see, then hand archives/binaries to documented routes. Do not invent inspect_cargo_vendor.

Does REA run cargo vendor or talk to crates.io?

No. Local trees only. No crates.io/token theft.

Vendor config.toml / .cargo/config?

Record source-replacement config when present. Do not invent a resolved registry graph REA never fetched.

npm version checked?

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

Sources