This repository was archived by the owner on Jul 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrustfmt.toml
64 lines (62 loc) · 1.46 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
# commented out implies default
# indented items are non-default, indented so they're more convenient to comment out if needed
required_version = "1.4.29"
unstable_features = true
edition = "2018"
newline_style = "Unix"
# indent_style
use_small_heuristics = "Max"
# binop_separator
# combine_control_expr
# comment_width
condense_wildcard_suffixes = true
# control_brace_style
# disable_all_formatting
# error_on_line_overflow = true
# error_on_unformatted = true
# fn_args_layout
# brace_style
# empty_item_single_line
# enum_discrim_align_threshold
fn_single_line = true
# where_single_line
# force_explicit_abi
format_strings = true
# format_macro_matchers
format_macro_bodies = false
hard_tabs = true
# imports_ident
# imports_layout
merge_imports = true
match_block_trailing_comma = true
max_width = 140
# merge_derives
# force_multiline_blocks
# remove_nested_parens
# reorder_imports
# reorder_modules
reorder_impl_items = true
# report_todo = "Always"
# report_fixme = "Always"
# skip_children
# space_after_colon
# space_before_colon
# struct_field_align_threshold
# spaces_around_ranges
# struct_lit_single_line
# tab_spaces
# trailing_comma
# trailing_semicolon
# type_punctuation_density
use_field_init_shorthand = true
use_try_shorthand = true
version = "Two"
# format_code_in_doc_comment
# wrap_comments
# match_arm_blocks
overflow_delimited_expr = true
# blank_lines_upper_bound
# blank_lines_lower_bound
# hide_parse_errors
# color
inline_attribute_width = 140