From 5a4dcd23849d48937d9f710d05b10eefc93bd1b4 Mon Sep 17 00:00:00 2001 From: Ericson Soares Date: Thu, 14 Nov 2024 11:15:58 -0300 Subject: [PATCH] Introduce a .rustfmt.toml file with configs for automatic formatting --- .rustfmt.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .rustfmt.toml diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 0000000..a76859e --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1,15 @@ +edition = "2024" +unstable_features = true +imports_granularity = "Crate" +group_imports = "StdExternalCrate" +reorder_imports = true +format_code_in_doc_comments = true +force_explicit_abi = true +max_width = 100 +merge_derives = true +newline_style = "Unix" +remove_nested_parens = true +reorder_modules = true +use_field_init_shorthand = false +use_small_heuristics = "Default" +use_try_shorthand = false \ No newline at end of file