This is my personal template for creating new Rust projects. Most of this, especially the linter rules, was cannibalized from Charles Hall's Rust + Nix Quickstart, so credit is due there.
To use:
- Install cargo-generate
- Add this to
$CARGO_HOME/cargo-generate.toml:
[favorites.siliconself]
git = "https://github.com/SiliconSelf/rust-template"
branch = "main"After doing this, you can generate a new project with
cargo generate siliconself