cargo-crev
cargo-crev copied to clipboard
chore: reformat using `cargo +nightly fmt --all`
Checklist:
- [x]
cargo +nightly fmt --all - [ ] Modify
CHANGELOG.mdif applicable
Questions to maintainers:
- Should I create CI workflow to enforce
pre-commitrun? - Should I reformat toml files using
taploas well? - if
taplois advised, should I add it topre-commithook?
I already started using taplo with autoformatting in my projects and I think it's a nice improvement tying into how i like uniform Rust code formatting, so :+1: from me, but ping @kornelski .
In my projects I use pre-commit hook to format code and toml, as well as check it on CI using the same pre-commit. You can check how I've done it here. In my CI i wait for all checks to be done, which is a separate small CI job.