-
Notifications
You must be signed in to change notification settings - Fork 18
/
rustfmt.toml
90 lines (89 loc) · 2.76 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Rustfmt configuration. All commented items are the default values, from
# rustfmt --dump-default-config > rustfmt.toml
# unstable_features = false
# verbose = false
# disable_all_formatting = false
# skip_children = false
# max_width = 100
error_on_line_overflow = false
error_on_line_overflow_comments = false
# tab_spaces = 4
fn_call_width = 80
# struct_lit_width = 18
# struct_variant_width = 35
# force_explicit_abi = true
# newline_style = "Unix"
# fn_brace_style = "SameLineWhere"
# item_brace_style = "SameLineWhere"
# control_style = "Rfc"
# control_brace_style = "AlwaysSameLine"
# impl_empty_single_line = true
# trailing_comma = "Vertical"
# trailing_semicolon = true
# fn_empty_single_line = true
# fn_single_line = false
# fn_return_indent = "WithArgs"
# fn_args_paren_newline = false
fn_args_density = "CompressedIfEmpty"
# fn_args_indent = "Block"
# array_indent = "Block"
# array_width = 60
# array_horizontal_layout_threshold = 0
# type_punctuation_density = "Wide"
# where_style = "Rfc"
where_density = "Vertical"
# where_single_line = false
where_layout = "HorizontalVertical"
# where_pred_indent = "Visual"
# generics_indent = "Block"
# struct_lit_indent = "Block"
# struct_lit_multiline_style = "PreferSingle"
# fn_call_indent = "Block"
# report_todo = "Never"
# report_fixme = "Never"
chain_indent = "Visual"
chain_width = 80
# chain_split_single_child = false
# imports_indent = "Visual"
# imports_layout = "Mixed"
# reorder_extern_crates = true
# reorder_extern_crates_in_group = true
reorder_imports = true
reorder_imports_in_group = true
# reorder_imported_names = true
# single_line_if_else_max_width = 50
# format_strings = false
# force_format_strings = false
take_source_hints = true
# hard_tabs = false
# wrap_comments = false
# comment_width = 80
# normalize_comments = false
# wrap_match_arms = true
# match_block_trailing_comma = false
# match_arm_forces_newline = false
# indent_match_arms = true
# match_pattern_separator_break_point = "Back"
# closure_block_indent_threshold = 7
# space_before_type_annotation = false
# space_after_type_annotation_colon = true
# space_before_struct_lit_field_colon = false
# space_after_struct_lit_field_colon = true
# space_before_bound = false
# space_after_bound_colon = true
# spaces_around_ranges = false
# spaces_within_angle_brackets = false
# spaces_within_square_brackets = false
# spaces_within_parens = false
# use_try_shorthand = false
# write_mode = "Overwrite"
# condense_wildcard_suffixes = false
# combine_control_expr = true
# struct_field_align_threshold = 0
# remove_blank_lines_at_start_or_end_of_block = true
attributes_on_same_line_as_field = false
attributes_on_same_line_as_variant = false
multiline_closure_forces_block = true
multiline_match_arm_forces_block = true
# merge_derives = true
# binop_separator = "Front"