REA Cargo metadata notes (unofficial)
Cargo projects expose manifest + lock identity and optional built targets. REA 6.7.x should keep metadata facts and binary routes honest and separate — no silent Cargo RPC product.
Mental model
- Authorize the crate tree or built artifact.
- Quote
Cargo.tomlname/version and selectedCargo.lockpackage pins you actually see. - Build products → rea-rust-binaries or rea-rust-cdylib.
- Auditable metadata inside binaries when present — absence is also a fact (rea-go-rust-static).
- Do not invent crate lists that neither lockfile nor auditable blob shows.
Minimal path
# authorized Rust project or target/ artifact
# quote Cargo.lock package pins into case notes
# rea <documented-rust-or-native-route> /absolute/path/target/release/foo --json
Compare
| Artifact | Honest posture |
|---|---|
Cargo.lock / manifest | Version / pin facts |
| Rust executable | rea-rust-binaries |
cdylib / dylib | rea-rust-cdylib |
| Missing auditable blob | Record absence — do not invent crates |
Scope we will not cover
- No inventing
inspect_cargo/ automatic crates.io crawlers. - No crack/license bypass for commercial Rust products.
- No claiming lockfile pins prove runtime loads without the binary Evidence.
RepoRead is unofficial. Prefer README Rust row + binary-diagnostics.
FAQ
Is there inspect_cargo in 6.7.0?
Not assumed as a first-class MCP name. Quote Cargo.lock / manifest identity you actually have, and use documented Rust static / auditable lanes on built artifacts (rea-rust-binaries).
How is this different from rea-rust-binaries?
Binary pages cover built images and auditable blobs. This page is about source/lock metadata as Evidence before or beside those routes.
Will cargo metadata JSON be parsed by REA automatically?
Do not invent a graph importer. If you already ran cargo metadata in your lab, you may paste selected package id/version facts into case notes — mark them as external.
Vendored crates vs registry?
Prefer trees your org already vendor/fetched under authorization. No crates.io credential or token theft.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).