summaryrefslogtreecommitdiff
path: root/rustybits/rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'rustybits/rustfmt.toml')
-rw-r--r--rustybits/rustfmt.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/rustybits/rustfmt.toml b/rustybits/rustfmt.toml
new file mode 100644
index 00000000..9b1e1eef
--- /dev/null
+++ b/rustybits/rustfmt.toml
@@ -0,0 +1,15 @@
+#unstable_features = true
+max_width = 120
+#use_small_heuristics = "Max"
+edition = "2021"
+#empty_item_single_line = true
+newline_style = "Unix"
+struct_lit_width = 60
+tab_spaces = 4
+use_small_heuristics = "Default"
+#fn_single_line = true
+#hex_literal_case = "Lower"
+#merge_imports = true
+#group_imports = "StdExternalCrate"
+single_line_if_else_max_width = 0
+use_try_shorthand = true