Rustfmt Config
Rustfmt is designed to be configurable. You can create a TOML file rustfmt.toml
or .rustfmt.toml
, place it in the project and it will apply the options in that file.
indent_style = "Block"
reorder_imports = false
use_field_init_shorthand = true