Crate cargo_utils

Source

Structs§

DepTable
Dependency table to add dep to
LocalManifest
A Cargo manifest that is available locally.
Manifest
A Cargo manifest

Enums§

DepKind

Constants§

CARGO_TOML

Functions§

canonical_local_manifest
cargo_home
find
If a manifest is specified, return that one, otherise perform a manifest search starting from the current directory. If a manifest is specified, return that one. If a path is specified, perform a manifest search starting from there. If nothing is specified, start searching from the current directory (cwd).
get_manifest_metadata
registry_index_url_from_env
Read index for a specific registry using environment variables. https://doc.rust-lang.org/cargo/reference/environment-variables.html
registry_token
registry_token_from_credential_file
Read credentials for a specific registry using file cargo/credentials.toml. https://doc.rust-lang.org/cargo/reference/config.html#credentials
registry_token_from_env
Read credentials for a specific registry using environment variables. https://doc.rust-lang.org/cargo/reference/registry-authentication.html#cargotoken
registry_url
Find the URL of a registry
to_utf8_pathbuf
upgrade_requirement
Upgrade an existing requirement to a new version
workspace_manifest
workspace_members
Lookup all members of the current workspace