gen-cargo 0.1.10

gen — Cargo adapter. Parses Cargo.toml + Cargo.lock + workspace shape into gen_types::Manifest. The cargo half of the universal package-manager engine; one of N adapters (gen-npm, gen-bundler, gen-pip, gen-gomod, gen-helm, …) that share the typed core. See theory/GEN.md for the full design.
Documentation

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);