aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to '.rustfmt.toml')
-rw-r--r--.rustfmt.toml11
1 files changed, 11 insertions, 0 deletions
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"