summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-09-01 23:02:34 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-09-01 23:02:34 +0800
commit54436323515f200fef798f41764acf08d21bd406 (patch)
tree3bf5914971f422e0576920096f75791a4e68226d
parentd5f54be8d71734c9c59f5275c47b02fdec8c3cdf (diff)
new: rustfmt
-rw-r--r--rustfmt.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644
index 0000000..fd3f9c9
--- /dev/null
+++ b/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"