added rustfmt, a guide about this, and a CI job to enforce code quality #10

Merged
quentin merged 2 commits from adrien/diplonat:meta/formating into main 2021-09-17 08:06:53 +00:00
Showing only changes of commit bf226d077e - Show all commits

View file

@ -9,6 +9,7 @@ steps:
- name: code style - name: code style
image: rust:1.47 image: rust:1.47
commands: commands:
- rustup component add rustfmt
- cargo fmt --all -- --check - cargo fmt --all -- --check
# - name: code quality # - name: code quality
# image: rust:1.47 # image: rust:1.47