aboutsummaryrefslogtreecommitdiff
path: root/rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'rustfmt.toml')
-rw-r--r--rustfmt.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644
index 0000000..bd98b45
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1,15 @@
+edition = "2021"
+unstable_features = true
+wrap_comments = true
+imports_granularity = "Module"
+group_imports = "StdExternalCrate"
+hex_literal_case = "Upper"
+format_macro_matchers = true
+format_code_in_doc_comments = true
+format_strings = true
+use_field_init_shorthand = true
+use_try_shorthand = true
+normalize_comments = true
+normalize_doc_attributes = true
+overflow_delimited_expr = true
+max_width = 100