- Template cargo project
- Pre-installed:
tokio_test
for testing async codecargo_make
for running scripts (defined in Makefile.toml)
Using cargo make
- Add new entries to Makefile.toml
- Update version number in Cargo.toml
- Commit changes and update
main
- Create a new tag with the version:
git tag -a x.y.z -m "Note for this version"
- Push the tag
git push origin tag x.y.z
This will run a workflow defined in .github/workflows/publish.yml that will publish the package.
The tagged version must match the version in Cargo.toml or the worfklow will abort.
cargo make docs
cargo make tests