From 6973d5e039bdf567330a7b5488e0f36c52bd8c15 Mon Sep 17 00:00:00 2001 From: gered Date: Mon, 27 Mar 2023 18:46:33 -0400 Subject: [PATCH] add rustfmt.toml to the project root rather than just relying on $HOME/.rustfmt.toml ... --- rustfmt.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 rustfmt.toml diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..7838255 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,12 @@ +#blank_lines_upper_bound = 3 +#format_code_in_doc_comments = true +#group_imports = "StdExternalCrate" +hard_tabs = true +#hex_literal_case = "Lower" +#imports_granularity = "Module" +max_width = 120 +#single_line_if_else_max_width = 0 +tab_spaces = 4 +use_field_init_shorthand = true +use_small_heuristics = "Max" +#wrap_comments = true