[][src]Crate cargo_toml2

Structs

Alias
Badges
Build
BuildBadge

These are more or less common to all currently supported badges.

CargoConfig

.cargo/config

CargoNew
CargoToml

The root Cargo.toml

CargoTomlError
ConfigTarget
ConfigTargetVal
DependencyFull
Features
Http
Maintenance
Net
Package
Patches
Profile
ProfileVal
Registry
Target
TargetConfig

All the sections here use the same stuff. https://doc.rust-lang.org/cargo/reference/manifest.html#configuring-a-target

TargetDep
Term
Workspace

Enums

AliasType
Dependency

Due to issues with toml-rs, this will fail to serialize if both Simple and Full variants exist. Specifically, issue #256 blocks this working properly.

StringOrBool

Functions

from_path

Reads the file at path.

to_path

Writes a serializable struct to the file at path.