Skip to content

SiliconSelf/rust-template

Repository files navigation

Rust Template

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.

Usage

To use:

  1. Install cargo-generate
  2. 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

About

My template for Rust projects

Resources

License

Stars

Watchers

Forks

Contributors

Languages