From 150fc4f2f67492caf3b8e489463e129d6a4b3247 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 5 Dec 2020 23:17:33 +0000 Subject: [PATCH] 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 --- rustfmt.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 rustfmt.toml 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 -- 2.30.2