Re-exports§
pub use self::config::homedir;pub use self::config::Config;pub use self::config::ConfigValue;pub use self::diagnostic_server::RustfixDiagnosticServer;pub use self::errors::internal;pub use self::errors::process_error;pub use self::errors::CargoResult;pub use self::errors::CargoResultExt;pub use self::errors::CliResult;pub use self::errors::Test;pub use self::errors::CargoTestError;pub use self::errors::CliError;pub use self::errors::ProcessError;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::lev_distance::closest;pub use self::lev_distance::closest_msg;pub use self::lev_distance::lev_distance;pub use self::paths::bytes2path;pub use self::paths::dylib_path;pub use self::paths::join_paths;pub use self::paths::path2bytes;pub use self::paths::dylib_path_envvar;pub use self::paths::normalize_path;pub use self::process_builder::process;pub use self::process_builder::ProcessBuilder;pub use self::restricted_names::validate_package_name;pub use self::rustc::Rustc;pub use self::to_semver::ToSemver;
Modules§
- command_
prelude - config
- Cargo’s config system.
- cpu
- diagnostic_
server - A small TCP server to handle collection of diagnostics information in a
cross-platform way for the
cargo fixcommand. - errors
- graph
- hex
- important_
paths - into_
url - job
- Job management (mostly for windows)
- lev_
distance - machine_
message - network
- paths
- process_
builder - profile
- restricted_
names - Helpers for validating and checking names like package and crate names.
- rustc
- to_
semver - toml
Structs§
- Canonical
Url - A newtype wrapper around
Urlwhich represents a “canonical” version of an original URL. - Dependency
Queue - File
Lock - Filesystem
- A “filesystem” is intended to be a globally shared, hence locked, resource in Cargo.
- Fossil
Repo - GitRepo
- HgRepo
- Lock
Server - Lock
Server Client - Lock
Server Started - Pijul
Repo - Progress
- Queue
- A simple, threadsafe, queue of items of type
T - Sha256
Enums§
Traits§
- Into
UrlWith Base - A type that can be interpreted as a relative Url and converted to a Url.
Functions§
- elapsed
- existing_
vcs_ repo - is_ci
- Whether or not this running in a Continuous Integration environment.
- print_
available_ benches - print_
available_ binaries - print_
available_ examples - print_
available_ tests - read2