Expand description
Foundation utilities (AppState, HTTP client, hashing, download, extract, OS probe).
Re-exports§
pub use errors::SystemError;pub use errors::SystemResult;pub use errors::ExtractError;pub use errors::ExtractResult;pub use errors::DownloadError;pub use errors::DownloadResult;pub use errors::AppStateError;pub use errors::AppStateResult;pub use errors::QueryError;pub use errors::QueryResult;pub use hash::HashError;pub use hash::HashResult;pub use hash::verify_file_sha1;pub use hash::verify_file_sha1_streaming;pub use hash::calculate_file_sha1_sync;pub use hash::verify_file_sha1_sync;pub use hash::calculate_sha1_bytes;pub use hash::calculate_sha1_bytes_raw;pub use app_state::AppState;
Modules§
- app_
state - Process-wide launcher paths resolved via the
dirscrate. - download
- errors
- extract
- hash
- SHA1 file hashing utilities (sync and async).
- hosts
- macros
- system
- Compile-time OS / architecture detection and per-vendor name mapping.
Macros§
- join_
and_ mkdir - join_
and_ mkdir_ vec - mkdir
- Fire-and-forget
create_dir_all— logs errors viatrace_error!and swallows them. Prefer [try_mkdir!] when callers need to short-circuit. - mkdir_
blocking - time_it
- trace_
debug - trace_
error - trace_
info - trace_
warn - try_
mkdir - Async
create_dir_allthat propagates theio::Errorfor fail-fast pipelines.