Development / Code Formatting
We use rustfmt
. rustfmt is a tool for formatting Rust code according to style guidelines.
Install rustfmt
rustup component add rustfmt --toolchain nightly
Check formatting
cargo fmt --all -- --check
Reformat code
cargo fmt --all