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.toml
files. - Represents the
package
/project
sections of aCargo.toml
. - Corresponds to a
target
entry, butTomlTarget
is 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::Workspace
generic. It makes deserialization ofMaybeWorkspace
much easier, as well as making error messages forMaybeWorkspace::resolve
much nicer
Functions
- Checks if a file with any of the default README file names exists in the package root. If so, returns a
String
representing that name. - See also
bin/cargo/commands/run.rs
sis_manifest_command
- is_false 🔒
- Loads a
Cargo.toml
from a file on disk. - Parse an already-loaded
Cargo.toml
as 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.