summaryrefslogtreecommitdiff
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorArne Dußin2021-07-31 11:51:25 +0200
committerArne Dußin2021-07-31 11:51:25 +0200
commit2f14f7edf29bd7010e5f8be8691a907c8ede1278 (patch)
tree2708ee050e3dba8ca75be2160428e1c4bd487367 /rustfmt.toml
parentaf7514d42b3ec6743fd8037c6e909ae8134dfa4f (diff)
downloadmatrix-zizek-bot-2f14f7edf29bd7010e5f8be8691a907c8ede1278.tar.gz
matrix-zizek-bot-2f14f7edf29bd7010e5f8be8691a907c8ede1278.zip
First basic testing zizek bot
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..b7e6339
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1,11 @@
+brace_style = "AlwaysNextLine"
+condense_wildcard_suffixes = true
+control_brace_style = "ClosingNextLine"
+fn_single_line = true
+format_strings = true
+imports_granularity = "Module"
+match_block_trailing_comma = true
+newline_style = "Unix"
+group_imports = "StdExternalCrate"
+struct_field_align_threshold = 15
+wrap_comments = true \ No newline at end of file