Skip to content

Commit

Permalink
Introduce a .rustfmt.toml file with configs for automatic formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fogodev committed Nov 14, 2024
1 parent 08750c5 commit 5a4dcd2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
edition = "2024"
unstable_features = true
imports_granularity = "Crate"
group_imports = "StdExternalCrate"
reorder_imports = true
format_code_in_doc_comments = true
force_explicit_abi = true
max_width = 100
merge_derives = true
newline_style = "Unix"
remove_nested_parens = true
reorder_modules = true
use_field_init_shorthand = false
use_small_heuristics = "Default"
use_try_shorthand = false

0 comments on commit 5a4dcd2

Please sign in to comment.