Function zng_tp_licenses::parse_cargo_about

source ยท
pub fn parse_cargo_about(json: &str) -> Result<Vec<LicenseUsed>, Error>
Expand description

Parse the output of cargo about.

Example command:

cargo about generate -c .cargo/about.toml --format json --workspace --all-features

See also collect_cargo_about that calls the command.