Modules
- targets 🔒This module implements Cargo conventions for directory layout:
Macros
- Defines simple getter methods for inheritable fields.
Structs
- Context 🔒
- A group of fields that are inheritable by members of the workspace
- 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.tomlfiles. - Represents the
package/projectsections of aCargo.toml. - Corresponds to a
targetentry, butTomlTargetis already used.
Enums
- An enum that allows for inheriting keys from a workspace in a Cargo.toml.
Constants
Traits
- This Trait exists to make
MaybeWorkspace::Workspacegeneric. It makes deserialization ofMaybeWorkspacemuch easier, as well as making error messages forMaybeWorkspace::resolvemuch nicer
Functions
- Checks if a file with any of the default README file names exists in the package root. If so, returns a
Stringrepresenting that name. - See also
bin/cargo/commands/run.rssis_manifest_command - is_false 🔒
- Loads a
Cargo.tomlfrom a file on disk. - Parse an already-loaded
Cargo.tomlas a Cargo manifest. - Returns the name of the README file for a
TomlPackage. - Checks a list of build targets, and ensures the target names are unique within a vector. If not, the name of the offending build target is returned.
- Warn about paths that have been deprecated and may conflict.