add rust formatting rules

This commit is contained in:
Chance 2024-12-05 11:00:08 -05:00 committed by lily
parent 03a9ec04c7
commit 864ecedaf9
Signed by: lily
GPG key ID: 601F3263FBCBC4B9
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