About • Features • Dependencies • Building • Installation • Usage • Configuration
rust-template
is a custom, opinionated template for creating new Rust projects.
❗ The following must be changed, if you decide to use this template ❗
- change
[package]
fields inCargo.toml
to match your project - change paths in the
Dockerfile
to match your project and release binary - change the license holder within
LICENSE
to match your project - change the banner in
src/main.rs
to match your project - generate a PAT and add it as the
GH_TOKEN
secret to the repository - possibly change the GitHub Actions workflow to match your project
- add the
renovate
GitHub App to the repository if you want automated dependency updates - change
renovate.json
if you want to customize the dependency update logic. By default, it usesdevelop
as its base branch.
You should also adhere to the conventional commits
standard for commit messages, as this is used by semantic-release
to determine the next version.
figment
for configurationtokio
andasync-trait
for async handlingtracing
for logging/tracingeyre
for error handlingserde
for serialization/deserialization
GitHub Actions
for CI/CDsemantic-release
for versioningrenovate
for dependency updates
If there are any third-party dependencies, they should be listed here.
Describe how to build the project.
Describe how to install the project.
Describe how to use the project.
[general]
log_level = "info"
show_banner = true
Describe how to configure the project.
Give a shoutout to any libraries or projects that inspired this one.