This is a template repository for a command-line application built with Rust.
- ๐ Modern Stack: Built with Rust 2024 edition for performance and safety
- ๐ ๏ธ CLI Framework: Clap with derive macros for ergonomic argument parsing
โ ๏ธ Error Handling: thiserror for custom error types- ๐ Safety:
- Unsafe code forbidden via lint
- Strict Clippy lints (pedantic, nursery, cargo)
- โก Optimized Builds:
- LTO (Link-Time Optimization) enabled
- Single codegen unit for maximum optimization
- Binary stripping for smaller size
- Panic abort for reduced binary size
- ๐ ๏ธ Developer Experience:
- Comprehensive Clippy configuration
- Cargo metadata for crates.io publishing
- Easy spin up with Tilt
- Rust 1.85+
cargo buildcargo run -- --helpcargo testcargo clippycargo install {{project-name}}cargo install --path .{{binary-name}} --help- Update version in
Cargo.toml - Update
CHANGELOG.md - Publish to crates.io:
cargo publishThe code in this repository is licensed under MIT, ยฉ Omni LLC. See LICENSE.md for more information.