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
# Use verbose output.
# Default: false
# verbose =
# Do not reformat out of line modules.
# Default: false
# skip_children =
# Lines to format; this is not supported in rustfmt.toml,
# and can only be specified via the --file-lines option.
# file_lines =
# Maximum width of each line.
# Default: 100
= 120
# Number of spaces per tab.
# Default: 4
# Always print the abi for extern items.
# Default: true
# force_explicit_abi =
# Unix or Windows line endings.
# Values: Windows | Unix | Native
# Default: Unix
# newline_style =
= true
= true
# Put single-expression functions on a single line.
# Default: false
# Default: Visual
# where_pred_indent =
# Put a trailing comma on where clauses.
= true
= true
# Indentation of generics.
# Values: Inherit | Tabbed | Visual
# Default: Visual
# Format string literals where necessary.
# Default: true
= true
# Default: false
= true
# Convert /* */ comments to // comments where possible.
# Default: false
= true
# Wrap multiline match arms in blocks.
# Default: true
# wrap_match_arms =
# Put a trailing comma after a block based match arm (non-block arms are not affected).
# Default: false
= true
# Default: false
# spaces_around_ranges =
# Replace uses of the try! macro by the ? shorthand.
# Default: false
= true
# What Write Mode to use when none is supplied: Replace, Overwrite, Display, Diff, Coverage.
# Values: Replace | Overwrite | Display | Diff | Coverage | Plain | Checkstyle
# Default: Replace
# write_mode =