Skip to content

Commit a949899

Browse files
authored
chore: introduce a .rustfmt.toml file with configs for automatic formatting (#115)
2 parents 08750c5 + 5a4dcd2 commit a949899

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.rustfmt.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
edition = "2024"
2+
unstable_features = true
3+
imports_granularity = "Crate"
4+
group_imports = "StdExternalCrate"
5+
reorder_imports = true
6+
format_code_in_doc_comments = true
7+
force_explicit_abi = true
8+
max_width = 100
9+
merge_derives = true
10+
newline_style = "Unix"
11+
remove_nested_parens = true
12+
reorder_modules = true
13+
use_field_init_shorthand = false
14+
use_small_heuristics = "Default"
15+
use_try_shorthand = false

0 commit comments

Comments
 (0)