summaryrefslogtreecommitdiffstats
path: root/packages/svgbob/rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/svgbob/rustfmt.toml')
-rw-r--r--packages/svgbob/rustfmt.toml19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/svgbob/rustfmt.toml b/packages/svgbob/rustfmt.toml
new file mode 100644
index 0000000..503ede8
--- /dev/null
+++ b/packages/svgbob/rustfmt.toml
@@ -0,0 +1,19 @@
+# Use unstable features
+unstable_features = true
+
+max_width = 80
+
+## Visually align, useful in writing the view
+indent_style = "Block"
+imports_indent = "Block"
+reorder_imports = true
+reorder_impl_items = true
+merge_imports = true
+## I want to be able to delete unused imports easily
+imports_layout = "Vertical"
+## Default value is false, yet clipy keeps nagging on this
+use_field_init_shorthand = true
+
+## also format macro
+format_macro_matchers = true
+force_multiline_blocks = true