Rust Tool Base
A batteries-included CLI application framework for Rust.
Idiomatic, typed, and security-minded.
⚙️ Core Architecture Features¶
🦀 Idiomatic Rust
Embraces standard Rust paradigms from top to bottom. Arc<T> over context-threading, thiserror + miette over stringy errors, and typestate builders over functional options.
📦 Best-in-Class Crates
We don't reinvent the wheel. RTB orchestrates the best crates in the ecosystem: clap, figment, miette, rust-embed, and more into a cohesive framework.
🛡️ Security Minded
Built with enterprise security in mind. Secure credential storage, automatic secret redaction from telemetry, and rigorous validation perimeters built-in.
📚 Documentation Reference¶
Getting Started
- Why RTB? — philosophy, scope, and paradigm mapping.
- Ecosystem Survey — the best-in-class crates RTB wraps.
- Quick Start Guide — how to wire up the minimal application scaffold.
Deep Dives & Guides
- Concepts — conceptual tours cutting across crates.
- Components — per-crate reference pages.
- How-to guides — task-focused recipes.
Process & Architecture
- Engineering Standards — standing rules for security & idiom.
- BDD pattern — wiring
cucumber-rsinto cargo test. - Specifications — authoritative architectural contracts.