Re-exports§
pub use self::context::ConfigValue;pub use self::context::GlobalContext;pub use self::context::homedir;pub use self::diagnostic_server::RustfixDiagnosticServer;pub use self::edit_distance::closest;pub use self::edit_distance::closest_msg;pub use self::edit_distance::edit_distance;pub use self::errors::CliError;pub use self::errors::CargoResult;pub use self::errors::CliResult;pub use self::errors::internal;pub use self::graph::Graph;pub use self::hex::hash_u64;pub use self::hex::short_hash;pub use self::hex::to_hex;pub use self::into_url::IntoUrl;pub use self::rustc::Rustc;
Modules§
- auth
- Registry authentication support.
- cache_
lock - Support for locking the package and index caches.
- command_
prelude - context
- Cargo’s config system.
- cpu
- credential
- Built-in Cargo credential providers
- diagnostic_
server - A small TCP server to handle collection of diagnostics information in a
cross-platform way for the
cargo fixcommand. - edit_
distance - errors
- frontmatter
- graph
- hex
- important_
paths - interning
- into_
url - job
- Job management (mostly for windows)
- lints
- machine_
message - network
- Utilities for networking.
- restricted_
names - Helpers for validating and checking names like package and crate names.
- rustc
- sqlite
- Utilities to help with working with sqlite.
- style
- toml
- toml_
mut - Utilities for in-place editing of Cargo.toml manifests.
Structs§
- Canonical
Url - A newtype wrapper around
Urlwhich represents a “canonical” version of an original URL. - Dependency
Queue - File
Lock - A locked file.
- Filesystem
- A “filesystem” is intended to be a globally shared, hence locked, resource in Cargo.
- Fossil
Repo - GitRepo
- HgRepo
- Human
Bytes - Formats a number of bytes into a human readable SI-prefixed size.
- Lock
Server - Lock
Server Client - Lock
Server Started - Pijul
Repo - Progress
- CLI progress bar.
- Queue
- A simple, threadsafe, queue of items of type
T
Enums§
- OptVersion
Req - Progress
Style - Indicates the style of information for displaying the amount of progress.
Traits§
- Into
UrlWith Base - A type that can be interpreted as a relative Url and converted to a Url.
- OnceExt
- Version
Ext
Functions§
- add_
path_ args - elapsed
- existing_
vcs_ repo - get_
umask - Get the current
umaskvalue. - hostname
- Returns the hostname of the current system.
- indented_
lines - is_
rustup - path_
args - The source path and its current dir for use in compilation.
- print_
available_ benches - print_
available_ binaries - print_
available_ examples - print_
available_ packages - print_
available_ tests - truncate_
with_ ellipsis - try_
canonicalize
Type Aliases§
- Stable
Hasher - Stable 128-bits Sip Hasher