Module cargo::util::toml

source · []

Structs

A StringOrVec can be parsed from either a TOML string or array, but is always stored as a vector.

This type is used to deserialize Cargo.toml files.

Represents the package/project sections of a Cargo.toml.

Enums

Enum that allows for the parsing of { workspace = true } in a Cargo.toml

Traits

Functions

Attempts to parse a string into a toml::Value. This is not specific to any particular kind of TOML file.

Loads a Cargo.toml from a file on disk.

Parse an already-loaded Cargo.toml as a Cargo manifest.