forked from 0xVomer/Colossus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrustfmt.toml
More file actions
28 lines (28 loc) · 722 Bytes
/
rustfmt.toml
File metadata and controls
28 lines (28 loc) · 722 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
25
26
27
28
edition = "2024"
style_edition = "2024"
use_small_heuristics = "Max"
fn_args_layout = "Tall"
max_width = 100
reorder_modules = true
wrap_comments = true
normalize_comments = true
use_try_shorthand = true
match_block_trailing_comma = true
use_field_init_shorthand = true
condense_wildcard_suffixes = true
imports_granularity = "Crate"
array_width = 80
attr_fn_like_width = 80
chain_width = 80
comment_width = 100
fn_call_width = 80
format_code_in_doc_comments = true
format_macro_matchers = true
group_imports = "StdExternalCrate"
hex_literal_case = "Lower"
newline_style = "Unix"
reorder_imports = true
single_line_if_else_max_width = 60
single_line_let_else_max_width = 60
struct_lit_width = 40
struct_variant_width = 40