Warning
This need cargo-generate to expand this template
- Rust
- Cargo
- Cargo Generate
- Cargo Make (Optional)
- Cargo Release (Optional)
- Use
MakeFile.toml
to manage tasks - Use
cargo-release
to make easy deploy new release - Can you enable log by answer to
cargo-generate
- github actions for ci/cd
- Check format (using
cargo-fmt
) - Check quality code (using
cargo-clippy
)
- Check format (using
- No extra deps
- MakeFile.toml optimized
- You can use the files to configurate your own checks
rustfmt.toml
to check formatclippy.toml
to check quality code
cargo generate SrTemplates/Bevy
- check - Check all issues, format and code quality
- clean - Clean all target directory
- clippy - Check code quality
- default - Check all issues, format and code quality
- fix-all - Try fix all clippy and format issues
- fix-fmt - Fix format
- fmt - Check format quality
- test - Check all unit test
If the template is used on a regular basis, [cargo-generate] allows to se tup favorite templates and default variables.
To do this, open or create the file $CARGO_HOME/cargo-generate.toml
, in
sert this:
[favorites.bbin]
git = "https://github.com/SrTemplates/BasicBin"
After this, the template can be expanded using cargo generate bbin
.