From 2ee2cdb1075d424026b9ef59321a364e60b48480 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 7 Mar 2022 01:25:22 +0530 Subject: [PATCH] chore: add a custom rustfmt configuration --- 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 0000000..6d36852 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,11 @@ +comment_width = 80 +group_imports = "StdExternalCrate" +imports_granularity = "Module" +max_width = 80 +newline_style = "Unix" +normalize_comments = true +normalize_doc_attributes = true +reorder_impl_items = true +tab_spaces = 2 +version = "Two" +wrap_comments = true