Skip to main content

Crate cargo_util

Crate cargo_util 

Source
Expand description

Miscellaneous support code used by Cargo.

This crate is maintained by the Cargo team, primarily for use by Cargo and not intended for external use (except as a transitive dependency). This crate may make major changes to its APIs or be deprecated without warning.

Re-exportsยง

pub use self::read2::read2;
pub use du::du;
pub use process_builder::ExecStats;
pub use process_builder::ProcessBuilder;
pub use process_builder::Stdio;
pub use process_error::ProcessError;
pub use process_error::exit_status_to_string;
pub use process_error::is_simple_exit_code;
pub use sha256::Sha256;

Modulesยง

du ๐Ÿ”’
A simple disk usage estimator.
paths
Various utilities for working with files and paths.
process_builder ๐Ÿ”’
process_error ๐Ÿ”’
Error value for crate::ProcessBuilder when a process fails.
read2 ๐Ÿ”’
registry
sha256 ๐Ÿ”’

Functionsยง

is_ci
Whether or not this running in a Continuous Integration environment.