summaryrefslogtreecommitdiff
path: root/qml_plugin/rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'qml_plugin/rustfmt.toml')
-rw-r--r--qml_plugin/rustfmt.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/qml_plugin/rustfmt.toml b/qml_plugin/rustfmt.toml
new file mode 100644
index 0000000..fd3f9c9
--- /dev/null
+++ b/qml_plugin/rustfmt.toml
@@ -0,0 +1,15 @@
+# max_width = 104400000000
+use_small_heuristics = "Max"
+
+# chain_width = 0
+# fn_call_width = 0
+# attr_fn_like_width = 0
+# array_width = 0
+struct_lit_width = 0
+# struct_variant_width = 0
+# single_line_if_else_max_width = 0
+
+wrap_comments = true
+format_code_in_doc_comments = true
+
+imports_granularity = "Crate"