summaryrefslogtreecommitdiff
path: root/rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'rustfmt.toml')
-rw-r--r--rustfmt.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644
index 0000000..70b05df
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1,7 @@
+match_block_trailing_comma = true
+max_width = 80
+newline_style = "Unix"
+reorder_imported_names = true
+reorder_imports = true
+use_try_shorthand = true
+where_trailing_comma = true