Module toml

Source

Modulesยง

embedded ๐Ÿ”’
targets ๐Ÿ”’
This module implements Cargo conventions for directory layout:

Macrosยง

package_field_getter ๐Ÿ”’
Defines simple getter methods for inheritable fields.

Structsยง

InheritableFields
A group of fields that are inheritable by members of the workspace
ManifestContext ๐Ÿ”’
ScriptSource

Constantsยง

DEFAULT_README_FILES ๐Ÿ”’

Traitsยง

ResolveToPath

Functionsยง

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 String representing 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 ๐Ÿ”’
detailed_dep_to_dependency ๐Ÿ”’
emit_diagnostic ๐Ÿ”’
field_inherit_with ๐Ÿ”’
gather_dependencies ๐Ÿ”’
inheritable_from_path ๐Ÿ”’
inner_dependency_inherit_with ๐Ÿ”’
is_embedded
See also bin/cargo/commands/run.rss is_manifest_command
lints_inherit_with ๐Ÿ”’
lints_to_rustflags ๐Ÿ”’
load_inheritable_fields ๐Ÿ”’
lookup_path_base ๐Ÿ”’
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_toml for more details
parse_document ๐Ÿ”’
patch ๐Ÿ”’
prepare_for_publish
Make the Package self-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.toml from a file on disk.
read_toml_string ๐Ÿ”’
replace ๐Ÿ”’
stringify ๐Ÿ”’
to_dependency ๐Ÿ”’
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 stytax 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 ๐Ÿ”’