Modulesยง
Macrosยง
- package_
field_ ๐getter Defines simple getter methods for inheritable fields.
Structsยง
- A group of fields that are inheritable by members of the workspace
- Manifest
Context ๐
Constantsยง
- DEFAULT_
README_ ๐FILES
Traitsยง
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. - dep_
to_ ๐dependency - Warn about paths that have been deprecated and may conflict.
- deserialize_
toml ๐ - emit_
diagnostic ๐ - field_
inherit_ ๐with - gather_
dependencies ๐ - See also
bin/cargo/commands/run.rs
sis_manifest_command
- lints_
inherit_ ๐with - lints_
to_ ๐rustflags - lookup_
path_ ๐base - normalize_
features ๐ - Returns the name of the README file for a
manifest::TomlPackage
. - normalize_
patch ๐ - normalize_
path_ ๐sep - normalize_
toml ๐SeeManifest::normalized_toml
for more details - parse_
document ๐ - patch ๐
- Make the
Package
self-contained so its ready for packaging - Prepares the manifest for publishing.
- Loads a
Cargo.toml
from a file on disk. - read_
toml_ ๐string - replace ๐
- stringify ๐
- to_
dependency ๐ - to_
virtual_ ๐manifest - to_
workspace_ ๐config - unique_
build_ ๐targets 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. - unused_
dep_ ๐keys - Checks stytax validity and unstable feature gate for a given profile.
- Validates a profile.
- Validation that is specific to an override.
- validate_
profiles ๐Checks syntax validity and unstable feature gate for each profile. - verify_
lints ๐ - warn_
on_ ๐unused