aboutsummaryrefslogtreecommitdiff
path: root/rustfmt.toml
blob: 5ad42f8c590c9b5ba4aaadfaeb51dd65b7fa14f5 (plain) (blame)
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
edition = "2021"
enum_discrim_align_threshold = 40
# error_on_line_overflow = true
# error_on_unformatted = true
fn_single_line = true
format_code_in_doc_comments = true
format_macro_matchers = true
format_strings = true
inline_attribute_width = 80
match_arm_blocks = false
max_width = 80
imports_granularity = "One"
merge_imports = true
newline_style = "Unix"
normalize_doc_attributes = true
overflow_delimited_expr = true
reorder_impl_items = true
group_imports = "StdExternalCrate"
required_version = "1.5.2"
struct_field_align_threshold = 40
tab_spaces = 2
use_field_init_shorthand = true
use_small_heuristics = "Max"
use_try_shorthand = true
version = "Two"
wrap_comments = true