summaryrefslogtreecommitdiffstats
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorClementTsang <clementjhtsang@gmail.com>2019-09-03 23:27:25 -0400
committerClementTsang <clementjhtsang@gmail.com>2019-09-03 23:27:25 -0400
commita1923e198c42be8040f56acdb9572875e72832bf (patch)
treead855d7b6acba5c93852f1e3a829b5273c1de45e /rustfmt.toml
parent0cfcf323a1dba844758e01314b923d0d8665554a (diff)
Setup.
Diffstat (limited to 'rustfmt.toml')
-rw-r--r--rustfmt.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644
index 00000000..fae7c139
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1,11 @@
+max_width = 200
+reorder_imports = true
+control_brace_style = "ClosingNextLine"
+fn_args_layout = "Compressed"
+empty_item_single_line = false
+hard_tabs = true
+merge_imports = true
+merge_derives = true
+reorder_modules = true
+space_before_colon = true
+tab_spaces = 4