From 611fe6fcfdf0bf28ba9da64e87d5284f328c563c Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Tue, 14 Dec 2021 09:37:57 +0000 Subject: [PATCH] Add initial rustfmt configuration file --- .rustfmt.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .rustfmt.toml diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 00000000..90b54a75 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1,14 @@ +blank_lines_lower_bound = 1 +edition = "2018" +hard_tabs = true +indent_style = "Block" +match_arm_blocks = true +merge_derives = true +merge_imports = true +reorder_impl_items = true +reorder_imports = true +reorder_modules = true +use_field_init_shorthand = true +use_small_heuristics = "Off" +wrap_comments = true +closure_block_indent_threshold = 1