about summary refs log tree commit diff stats
path: root/.rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to '.rustfmt.toml')
-rw-r--r--.rustfmt.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.rustfmt.toml b/.rustfmt.toml
new file mode 100644
index 0000000..711de67
--- /dev/null
+++ b/.rustfmt.toml
@@ -0,0 +1,12 @@
+max_width = 79
+hard_tabs = false
+tab_spaces = 2
+edition = "2024"
+match_block_trailing_comma = true
+merge_derives = true
+reorder_imports = true
+reorder_modules = true
+use_field_init_shorthand = true
+use_try_shorthand = true
+# I hate NT users and they hate me.
+newline_style = "Unix"