This is a template repository for cargo project. This includes
- Minimal cargo project
- Dockerfile utilizing multi-stage build powered by cargo-chef
- CI workflows to lint, test and build-push image.
- Follow instructions here to create repository: Creating a repository from a template
- Replace all strings
rusty_boilerplate
in this repository with your new project name. - If you want to publish Docker image, disable comment-out
push: ${{ github.ref == 'refs/heads/main' }}
in .github/workflows/build_image.yml. And removepush: false
in the file.