-
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathrustfmt.toml
More file actions
24 lines (23 loc) · 608 Bytes
/
rustfmt.toml
File metadata and controls
24 lines (23 loc) · 608 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
edition = "2021"
max_width = 100
hard_tabs = false
tab_spaces = 4
newline_style = "Auto"
use_small_heuristics = "Default"
reorder_imports = true
reorder_modules = true
remove_nested_parens = true
merge_derives = true
use_try_shorthand = true
use_field_init_shorthand = true
force_explicit_abi = true
# Commented out unstable features (requires nightly)
# format_strings = true
# format_macro_matchers = true
# format_macro_bodies = true
# empty_item_single_line = true
# struct_lit_single_line = true
# fn_single_line = false
# where_single_line = false
# imports_indent = "Block"
# imports_layout = "Mixed"