about summary refs log tree commit diff stats
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorRen Kararou <[email protected]>2025-11-29 12:44:08 -0600
committerRen Kararou <[email protected]>2025-11-29 12:44:08 -0600
commit36a706b7d17bfa332f07ab18b1d3ff30f0aaf6d3 (patch)
tree544d3867c7b44908acdd31843cd562e09d575ebf /.rustfmt.toml
parentb0429fdf9164c3b59f9cd8186b971d9cb038c46c (diff)
downloadviolet-36a706b7d17bfa332f07ab18b1d3ff30f0aaf6d3.tar.gz
violet-36a706b7d17bfa332f07ab18b1d3ff30f0aaf6d3.tar.bz2
violet-36a706b7d17bfa332f07ab18b1d3ff30f0aaf6d3.zip
adjust and apply rustfmt settings
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"