ModulesΒ§
MacrosΒ§
- package_
field_ πgetter - Defines simple getter methods for inheritable fields.
StructsΒ§
- Inheritable
Fields - A group of fields that are inheritable by members of the workspace
- Manifest
Context π
ConstantsΒ§
StaticsΒ§
- EXPECTED_
LINT_ πCONFIG
TraitsΒ§
FunctionsΒ§
- config_
patch_ πto_ dependency - Transforms a
patchentry from Cargo config to aDependency. - default_
readme_ πfrom_ package_ root - Checks if a file with any of the default README file names exists in the package root.
If so, returns a
Stringrepresenting that name. - dep_
to_ πdependency - dependency_
inherit_ πwith - deprecated_
underscore π - Warn about paths that have been deprecated and may conflict.
- deprecated_
ws_ πdefault_ features - deserialize_
toml π - emit_
frontmatter_ πdiagnostic - emit_
toml_ πdiagnostic - field_
inherit_ πwith - gather_
dependencies π - inheritable_
from_ πpath - inner_
dependency_ πinherit_ with - is_
embedded - See also
bin/cargo/commands/run.rssis_manifest_command - lints_
inherit_ πwith - lints_
to_ πrustflags - load_
inheritable_ πfields - lookup_
path_ πbase - make_
document_ πowned - Transform the parsed TOML document so that all its values are owned, so that it has a βstatic lifetime, to make it easier to work with it.
- missing_
dep_ πdiagnostic - normalize_
dependencies π - normalize_
features π - normalize_
package_ πreadme - Returns the name of the README file for a
manifest::TomlPackage. - normalize_
package_ πtoml - normalize_
patch π - normalize_
path_ πdependency - normalize_
path_ πsep - normalize_
path_ string_ sep - normalize_
toml π - See
Manifest::normalized_tomlfor more details - parse_
document π - patch π
- prepare_
for_ publish - Make the
Packageself-contained so its ready for packaging - prepare_
target_ for_ publish - prepare_
targets_ for_ publish - prepare_
toml_ πfor_ publish - Prepares the manifest for publishing.
- read_
manifest - Loads a
Cargo.tomlfrom a file on disk. - read_
toml_ πstring - replace π
- stringify π
- to_
dependency_ πsource_ id - to_
real_ manifest - to_
virtual_ πmanifest - to_
workspace_ πconfig - to_
workspace_ πroot_ 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 - validate_
dependencies π - validate_
profile - Checks syntax validity and unstable feature gate for a given profile.
- validate_
profile_ πlayer - Validates a profile.
- validate_
profile_ πoverride - Validation that is specific to an override.
- validate_
profiles π - Checks syntax validity and unstable feature gate for each profile.
- verify_
lints π - warn_
for_ πcargo_ lint_ feature - warn_
on_ πunused