aboutsummaryrefslogtreecommitdiff
path: root/.rustfmt.toml
diff options
context:
space:
mode:
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 0000000..21ebfc1
--- /dev/null
+++ b/.rustfmt.toml
@@ -0,0 +1,11 @@
+unstable_features = true
+
+max_width = 120
+fn_params_layout = "Compressed"
+fn_single_line = true
+fn_call_width = 120
+where_single_line = true
+brace_style = "PreferSameLine"
+blank_lines_upper_bound = 5
+combine_control_expr = false
+wrap_comments = false