summaryrefslogtreecommitdiffstats
path: root/rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'rustfmt.toml')
-rw-r--r--rustfmt.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644
index 0000000..d83987d
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1,10 @@
+# keep imports tidy
+reorder_imported_names = true
+reorder_imports = true
+reorder_imports_in_group = true
+# there is no try!
+use_try_shorthand = true
+# don't create rustfmt artifacts
+write_mode = "Replace"
+# reduce wide load
+max_width = 80 \ No newline at end of file