aboutsummaryrefslogtreecommitdiff
path: root/rust/rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'rust/rustfmt.toml')
-rw-r--r--rust/rustfmt.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/rust/rustfmt.toml b/rust/rustfmt.toml
new file mode 100644
index 0000000..ebecb99
--- /dev/null
+++ b/rust/rustfmt.toml
@@ -0,0 +1,7 @@
+edition = "2021"
+format_generated_files = false
+format_code_in_doc_comments = true
+format_strings = true
+imports_granularity = "Crate"
+group_imports = "StdExternalCrate"
+wrap_comments = true