24 lines
525 B
TOML
24 lines
525 B
TOML
# file: rustfmt.toml
|
|
# version: 1
|
|
|
|
edition = "2024"
|
|
newline_style = "Unix"
|
|
use_small_heuristics = "Default"
|
|
hard_tabs = false
|
|
tab_spaces = 4
|
|
max_width = 160
|
|
chain_width = 140
|
|
fn_call_width = 140
|
|
attr_fn_like_width = 140
|
|
struct_lit_width = 100
|
|
struct_variant_width = 100
|
|
array_width = 140
|
|
single_line_if_else_max_width = 120
|
|
single_line_let_else_max_width = 120
|
|
reorder_imports = true
|
|
reorder_modules = true
|
|
match_block_trailing_comma = true
|
|
use_field_init_shorthand = true
|
|
use_try_shorthand = false
|
|
force_explicit_abi = true
|