REA cargo vendor notes (unofficial)
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
- Authorize the
vendor/export (+ Cargo.toml / Cargo.lock you hold). - Quote selected crate directory names/versions and whether
vendor/config.toml(or equivalent) exists. - Lock/metadata facts → rea-cargo-metadata.
- Built Rust/static binaries → rea-go-rust-static / native diagnostics on absolute paths.
- 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
| Artifact | Honest posture |
|---|---|
vendor/ tree | Vendored crate identity facts |
| Cargo.lock / metadata | rea-cargo-metadata |
| Rust/static binaries | rea-go-rust-static |
| Go module cousin | rea-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).