-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrustfmt.toml
65 lines (48 loc) · 1.31 KB
/
rustfmt.toml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
imports_granularity = "Item"
imports_layout = "Vertical"
group_imports = "StdExternalCrate"
reorder_imports = true
reorder_impl_items = true
reorder_modules = true
wrap_comments = true
comment_width = 80
max_width = 80
control_brace_style = "ClosingNextLine"
empty_item_single_line = false
fn_params_layout = "Vertical"
force_multiline_blocks = true
format_macro_bodies = true
format_strings = false
hex_literal_case = "Upper"
match_arm_leading_pipes = "Never"
match_arm_blocks = true
trailing_comma = "Vertical"
trailing_semicolon = true
match_block_trailing_comma = true
use_small_heuristics = "Max"
fn_single_line = false
where_single_line = false
struct_lit_single_line = true
indent_style = "Block"
brace_style = "SameLineWhere"
use_field_init_shorthand = true
use_try_shorthand = true
combine_control_expr = false
condense_wildcard_suffixes = true
binop_separator = "Front"
spaces_around_ranges = false
space_after_colon = true
space_before_colon = false
type_punctuation_density = "Wide"
remove_nested_parens = true
tab_spaces = 4
show_parse_errors = true
blank_lines_lower_bound = 0
blank_lines_upper_bound = 1
merge_derives = true
overflow_delimited_expr = false
format_macro_matchers = true
normalize_comments = false
normalize_doc_attributes = true
struct_field_align_threshold = 0
enum_discrim_align_threshold = 0