Small, dependable Rust crates for problems worth solving twice.
rust-utils is a collection of focused, reusable Rust libraries. Each crate has one responsibility, a standalone public API, and an independent version/release lifecycle.
| Package | Purpose |
|---|---|
| rsutil-artifact | SHA-256, Ed25519, and SemVer verification |
| rsutil-bytes | Bounded binary reads and byte formatting |
| rsutil-runner | Controlled child-process execution |
| rsutil-config | Environment parsing and validation |
| rsutil-clip | Cross-platform text clipboard |
| rsutil-fs | Atomic writes, bounded reads, path validation |
| rsutil-lock | Cross-process advisory locks |
| rsutil-redact | Secret wrappers and redaction |
| rsutil-retry | Retry policies, backoff, jitter, deadlines |
| rsutil-shutdown | Cooperative shutdown |
| rsutil-system | OS, host, CPU, and memory snapshots |
Rust 1.95 or newer and Cargo are required. Clipboard use also needs a live desktop session and native clipboard backend.
git clone https://github.com/Vider06/rust-utils.git
cd rust-utils
cargo test --workspace --all-targets --all-featuresAdd only the package you need:
[dependencies]
rsutil-bytes = "0.1"Each crate README documents its exact public API, examples, errors, recovery guidance, and limitations.
Read CONTRIBUTING.md before contributing. See development and CI, architecture, crate guidelines, crate catalogue, release policy, roadmap, and changelog.
Report vulnerabilities privately as described in SECURITY.md. Licensed under Apache-2.0.