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.tomlto match your project - change paths in the
Dockerfileto match your project and release binary - change the license holder within
LICENSEto match your project - change the banner in
src/main.rsto match your project - generate a PAT and add it as the
GH_TOKENsecret to the repository - possibly change the GitHub Actions workflow to match your project
- add the
renovateGitHub App to the repository if you want automated dependency updates - change
renovate.jsonif you want to customize the dependency update logic. By default, it usesdevelopas 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.
figmentfor configurationtokioandasync-traitfor async handlingtracingfor logging/tracingeyrefor error handlingserdefor serialization/deserialization
GitHub Actionsfor CI/CDsemantic-releasefor versioningrenovatefor 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 = trueDescribe how to configure the project.
Give a shoutout to any libraries or projects that inspired this one.