Skip to main content

workspace_crates

Function workspace_crates 

Source
fn workspace_crates() -> Result<Vec<CrateEntry>>
Expand description

Enumerate workspace crates via cargo metadata --no-deps.

Parsed with serde_json rather than the cargo_metadata crate to keep xtask dependency-light (see xtask/Cargo.toml’s preamble). Only the fields the landing page needs are read: package name, description, and the documented target’s name for the rustdoc directory.