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
# # Maximum width of each line
# max_width = 100
# # Use spaces instead of tabs
# hard_tabs = false
# # Width of tabs
# tab_spaces = 4
# # Newline style (can be "Auto", "Native", "Unix", "Windows")
# newline_style = "Unix"
# # How imports should be grouped and sorted
# imports_granularity = "Crate"
# group_imports = "StdExternalCrate"
# # Reorder impl items
# reorder_impl_items = true
# # Format code inside macro declarations
# format_macro_bodies = true
# # Format code inside macro invocations
# format_macro_matchers = true
# # Use field initialize shorthand when possible
# use_field_init_shorthand = true
# # Format string literals where necessary
# format_strings = true
# # Where to put the opening brace of blocks
# brace_style = "SameLineWhere"
# # Control the layout of match arms
# match_arm_blocks = true
# # Merge multiple derives into a single one
# merge_derives = true
# # Use "Idiom" style for formatting comments
# comment_width = 80
# # Format generated files
# format_generated_files = true
# Basic
= true
= 100
= "Max"
# Imports
= "Crate"
= true
# Consistency
= "Unix"
# Format comments
= 100
= true
# Misc
= 80
= false
= "Back"
= false
= "Preserve"
= false
= true
= "Vertical"
= false
= true