summaryrefslogtreecommitdiff
path: root/src/rust/.rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/.rustfmt.toml')
-rw-r--r--src/rust/.rustfmt.toml14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/rust/.rustfmt.toml b/src/rust/.rustfmt.toml
index f25bd51883..4ff839dcf3 100644
--- a/src/rust/.rustfmt.toml
+++ b/src/rust/.rustfmt.toml
@@ -1,2 +1,12 @@
-max_width = 80
-comment_width = 80
+max_width = 100
+hard_tabs = false
+tab_spaces = 4
+newline_style = "Unix"
+#use_small_heuristics = "Default"
+reorder_imports = true
+reorder_modules = true
+remove_nested_parens = true
+merge_derives = true
+use_try_shorthand = false
+use_field_init_shorthand = false
+force_explicit_abi = true