Templates for common files/configs I use in Rust projects.
- Create a new repository based on this repository:
- Go to this repository's page,
click on the
Use this template
button and follow instructions.
OR
- With GitHub's CLI, run
gh repo create NEW_REPOSITORY_NAME --template=dmarcoux/rust_templates
.
- Search for
CHANGEME
in the newly created repository to adapt it to your needs.
It changes whether the project is a library or a binary. Details in the file.
Format Rust code according to style guidelines. Details in rustfmt.toml.
Pin the project to a specific Rust version. Details here.
Automated dependency updates. Details in the config.
Linters, tests and more. Details in the config.