From a2884de3cdd1205483363f6161343eeb21981792 Mon Sep 17 00:00:00 2001 From: Dongsu Park Date: Thu, 19 Oct 2023 18:01:10 +0200 Subject: [PATCH] add 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..792b118 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1,12 @@ +# Disable reordering package imports alphabetically +reorder_imports=false + +# Disable the granular width settings automatically configured following max_width. +use_small_heuristics="Off" + +# Maximum width of each line. +max_width=200 + +# Maximum width of each function call +# It is needed as use_small_heuristics=Off. +fn_call_width=80