Expand description
Provides functionality for resolving and managing Cargo manifests.
Structs§
- Manifest
- The top-level
Cargo.tomlstructure. This is the main type in this library. - Profile
- Compilation/optimization settings for a workspace
- Profiles
- Build-in an custom build/optimization settings
Enums§
- Dependency
- Dependency definition. Note that this struct doesn’t carry it’s key/name, which you need to read from its section.
- LtoSetting
- Handling of LTO in a build profile
Functions§
- add_
feature - Add a new feature to the Cargo.toml manifest if it doesn’t already exist.
- add_
production_ profile - Adds a “production” profile to the Cargo.toml manifest if it doesn’t already exist.
- from_
path - Parses the contents of a
Cargo.tomlmanifest. - get_
workspace_ project_ names - Get the names and paths of all cargo projects that are associated with a workspace manifest.