chiark / gitweb /
initial rustfmt file
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 5 Dec 2020 23:17:33 +0000 (23:17 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 5 Dec 2020 23:19:32 +0000 (23:19 +0000)
This still does not produce nice results.  I may hunt through the
edits to see anything I want to keep.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
rustfmt.toml [new file with mode: 0644]

diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644 (file)
index 0000000..a6b4d8f
--- /dev/null
@@ -0,0 +1,11 @@
+merge_imports = false
+overflow_delimited_expr = true
+struct_field_align_threshold = 4
+tab_spaces = 2
+unstable_features = true
+use_field_init_shorthand = true
+
+# not in our rustfmt it seems:
+# group_imports = "StdExternalCrate"
+# preserve_closure_block_wrapping = true
+# space_around_attr_eq = false