summaryrefslogtreecommitdiff
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-09-05 17:56:12 +0200
committerHampusM <hampus@hampusmat.com>2022-09-05 17:56:12 +0200
commitafade48668042eeb0740c7c5a1cc3806baaedc94 (patch)
treea8843a8bb1a8c584c79bccd3b3237f2d9911388d /rustfmt.toml
parent42964f67285d7d996bbbca7f5bc9785813a44e44 (diff)
add basic package things
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..4d1e29f
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1,11 @@
+max_width = 90
+brace_style = "AlwaysNextLine"
+group_imports = "StdExternalCrate"
+wrap_comments = true
+comment_width = 90
+format_code_in_doc_comments = true
+imports_layout = "HorizontalVertical"
+imports_granularity = "Module"
+newline_style = "Unix"
+reorder_impl_items = true
+