add rust formatting rules

This commit is contained in:
Chance 2024-12-05 11:00:08 -05:00 committed by BitSyndicate
parent 35e9c7e6de
commit 84f334dc49
Signed by: bitsyndicate
GPG key ID: 443E4198D6BBA6DE
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