Crate cargo_tomlsource · [−]
This crate defines
structs that can be deserialized with Serde
to load and inspect
You can replace
Metadatatype with your own to parse into something more useful than a generic toml
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.
Readme of build.rs path
Representation of a TOML value.