Add initial rustfmt configuration file

This commit is contained in:
Tobie Morgan Hitchcock 2021-12-14 09:37:57 +00:00
parent d0f6e844e0
commit 611fe6fcfd

14
.rustfmt.toml Normal file
View file

@ -0,0 +1,14 @@
blank_lines_lower_bound = 1
edition = "2018"
hard_tabs = true
indent_style = "Block"
match_arm_blocks = true
merge_derives = true
merge_imports = true
reorder_impl_items = true
reorder_imports = true
reorder_modules = true
use_field_init_shorthand = true
use_small_heuristics = "Off"
wrap_comments = true
closure_block_indent_threshold = 1