cargo_util - Rust (original) (raw)
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.
du 🔒
A simple disk usage estimator.
Various utilities for working with files and paths.
process_builder 🔒
process_error 🔒
Error value for crate::ProcessBuilder when a process fails.
read2 🔒
sha256 🔒
A builder object for an external process, similar to std::process::Command.
Determines the disk usage of all files in the given directory.
Converts an ExitStatus to a human-readable string suitable for displaying to a user.
Whether or not this running in a Continuous Integration environment.
Returns true
if the given process exit code is something a normal process would exit with.