From dd84b9d64fb98746a230cd24233ff50a562c39c9 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 28 Apr 2023 01:36:44 +0800 Subject: --- .rustfmt.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .rustfmt.toml (limited to '.rustfmt.toml') diff --git a/.rustfmt.toml b/.rustfmt.toml new file mode 100644 index 0000000..c4e4d34 --- /dev/null +++ b/.rustfmt.toml @@ -0,0 +1,11 @@ +# Keep in sync with .editorconfig +max_width = 100 + +tab_spaces = 4 +hard_tabs = false + +format_strings = true +wrap_comments = true + +imports_granularity = "Crate" +group_imports = "StdExternalCrate" -- cgit v1.2.3-70-g09d2