Small, dependable Rust crates for problems worth solving twice.
rust-utils is a collection of focused, reusable Rust libraries. Each crate solves one clearly defined problem, exposes a small API, and can be used without depending on the rest of the workspace.
All packages use the short v06- namespace, are independently versioned, and can be released without publishing unrelated crates. Initial version: 0.1.0.
| Package | Purpose |
|---|---|
| v06-clip | Cross-platform text clipboard access |
| v06-bytes | Bounded binary reads, endian conversion, and byte formatting |
| v06-fs | Atomic writes, bounded reads, and path validation |
| v06-runner | Controlled child-process execution |
| v06-lock | Cross-process advisory file locks |
| v06-system | OS, host, CPU, and memory snapshots |
| v06-shutdown | Cooperative graceful-shutdown signalling |
| v06-retry | Retry policies, backoff, jitter, and deadlines |
| v06-config | Environment parsing and configuration validation |
| v06-redact | Registered-secret redaction |
| v06-artifact | SHA-256, Ed25519 verification, and SemVer requirements |
- Focused: one crate, one responsibility, one clear problem.
- Composable: each package can be used independently.
- Predictable: explicit errors, bounded operations, and documented platform behavior.
- Safe by default: validate external input and avoid surprising side effects.
- Tested: exercise public behavior, edge cases, and failure paths.
- Documented: public APIs explain their contracts, limitations, and examples.
- Rust 1.95 or newer.
- Cargo.
- Platform-specific clipboard access requires a running desktop session and an available native clipboard backend.
Clone the repository and inspect the workspace:
git clone https://github.com/Vider06/rust-utils.git
cd rust-utils
cargo metadata --no-deps --format-version 1
cargo test --workspace --all-targets --all-featuresAdd only the package you need to your own project. For example:
[dependencies]
v06-bytes = "0.1"The crate-specific README files contain installation examples, API usage, and limitations.
Read CONTRIBUTING.md before opening a change.
cargo fmt --all -- --check
cargo test --workspace --all-targets --all-features
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo doc --workspace --no-deps --all-featuresSee the development guide for the full workflow and CI behavior.
Do not report vulnerabilities in public issues. Read SECURITY.md.
Licensed under the Apache License, Version 2.0.