add rust formatting rules

This commit is contained in:
Chance 2024-12-05 11:00:08 -05:00
parent 8dd059871a
commit ecad886ed9
7 changed files with 32 additions and 15 deletions

7
rustfmt.toml Normal file
View file

@ -0,0 +1,7 @@
indent_style = "Block"
wrap_comments = true
format_code_in_doc_comments = true
trailing_comma = "Vertical"
group_imports = "StdExternalCrate"
reorder_impl_items = true
unstable_features = true