From f74a3b3de44728065c86bcf80ff481d8b1b4fa2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Augusto=20Elesb=C3=A3o?= Date: Mon, 10 May 2021 22:13:01 +0200 Subject: [PATCH] Configure rustfmt with coding guidelines --- .rustfmt.toml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .rustfmt.toml diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 0000000..9305ff1 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1,7 @@ +hard_tabs = true +max_width = 100 +newline_style = "Unix" +reorder_imports = true +reorder_modules = true +tab_spaces = 4 +use_field_init_shorthand = true