From: Ian Jackson Date: Sat, 5 Dec 2020 23:17:33 +0000 (+0000) Subject: initial rustfmt file X-Git-Tag: otter-0.2.0~268 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=150fc4f2f67492caf3b8e489463e129d6a4b3247;p=otter.git initial rustfmt file 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 --- diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 00000000..a6b4d8f5 --- /dev/null +++ b/rustfmt.toml @@ -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