style: add rustfmt.toml

This commit is contained in:
EdJoPaTo
2024-10-24 12:09:33 +02:00
parent b913dcda77
commit e6694060ed
2 changed files with 9 additions and 3 deletions
+8
View File
@@ -0,0 +1,8 @@
# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md
format_code_in_doc_comments = true
format_macro_matchers = true
group_imports = "StdExternalCrate"
imports_granularity = "Module"
normalize_doc_attributes = true
reorder_impl_items = true
use_field_init_shorthand = true