/rust_templates

Templates for common files/configs I use in Rust projects

Primary LanguageDockerfileMIT LicenseMIT

Templates for common files/configs I use in Rust projects.

How to Use This Template

  1. 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.
  1. Search for CHANGEME in the newly created repository to adapt it to your needs.

.gitignore

It changes whether the project is a library or a binary. Details in the file.

rustfmt

Format Rust code according to style guidelines. Details in rustfmt.toml.

rust-toolchain

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.