cargo-fmt
Run `rustfmt` on all source files in a Rust project.
TLDR
Format all source files
$ cargo fmt
Check for formatting errors without writing to the files
$ cargo fmt --check
Pass arguments to each rustfmt call
$ cargo fmt -- [rustfmt_args]
Format all source files