gen-cargo — Cargo adapter for the gen ecosystem.
Reads a Cargo workspace (or single-crate repo) + its lockfile and
emits a typed [gen_types::Manifest]. The cargo half of the
universal package-manager engine — one of N adapters that share a
single typed IR. See theory/GEN.md for the design.
use std::path::Path;
let manifest = gen_cargo::parse(Path::new("/path/to/workspace")).unwrap();
assert!(manifest.package_count() >= 1);