aboutsummaryrefslogtreecommitdiff
path: root/src/rust/.rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'src/rust/.rustfmt.toml')
-rw-r--r--src/rust/.rustfmt.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/rust/.rustfmt.toml b/src/rust/.rustfmt.toml
new file mode 100644
index 0000000000..4ff839dcf3
--- /dev/null
+++ b/src/rust/.rustfmt.toml
@@ -0,0 +1,12 @@
+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