diff options
Diffstat (limited to 'rustfmt.toml')
| -rw-r--r-- | rustfmt.toml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..c2072ca --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,16 @@ +edition = "2021" +condense_wildcard_suffixes = true +fn_single_line = true +format_code_in_doc_comments = true +doc_comment_code_block_width = 80 +format_strings = true +match_arm_blocks = false +max_width = 80 +imports_granularity = "Crate" +normalize_comments = true +normalize_doc_attributes = true +reorder_impl_items = true +group_imports = "StdExternalCrate" +tab_spaces = 2 +use_field_init_shorthand = true +wrap_comments = true |