-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathrustfmt.toml
More file actions
23 lines (22 loc) · 590 Bytes
/
rustfmt.toml
File metadata and controls
23 lines (22 loc) · 590 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
edition = "2021"
fn_params_layout = "Tall"
force_explicit_abi = true
hard_tabs = true
match_arm_leading_pipes = "Never"
match_block_trailing_comma = false
max_width = 130
merge_derives = true
newline_style = "Unix"
remove_nested_parens = true
reorder_imports = true
reorder_modules = true
short_array_element_width_threshold = 10
single_line_if_else_max_width = 0
single_line_let_else_max_width = 0
tab_spaces = 3
use_field_init_shorthand = true
use_small_heuristics = "Default"
use_try_shorthand = true
# unstable options
imports_granularity = "Module"
group_imports = "StdExternalCrate"