Crate cargo_toml[][src]

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

See TomlManifest::from_slice.

Structs

Error

Errors that can occur when deserializing a type.

TomlDependencyDetail
TomlLibOrBin
TomlManifest

The top-level Cargo.toml structure

TomlPackage

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

TomlPlatform
TomlProfile
TomlProfiles

Enums

StringOrBool
TomlDependency
Value

Representation of a TOML value.

Type Definitions

TomlDepsSet
TomlFeatureSet
TomlPlatformDepsSet