Expand description

This crate defines structs that can be deserialized with Serde to load and inspect Cargo.toml metadata.

See Manifest::from_slice.

Structs

Deprecated

The top-level Cargo.toml structure

You can replace Metadata type with your own to parse into something more useful than a generic toml Value

Cargo uses the term “target” for both “target platform” and “build target” (the thing to build), which makes it ambigous. Here Cargo’s bin/lib target is renamed to product.

Enums

Readme of build.rs path

Representation of a TOML value.

Traits

Type Definitions