-
Notifications
You must be signed in to change notification settings - Fork 0
/
rustfmt.toml
51 lines (48 loc) · 1.26 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
unstable_features = true
version = "Two"
edition = "2021"
hard_tabs = true
tab_spaces = 8
max_width = 100
newline_style = "Unix"
binop_separator = "Front"
brace_style = "AlwaysNextLine"
combine_control_expr = false
condense_wildcard_suffixes = true
control_brace_style = "AlwaysSameLine"
empty_item_single_line = true
error_on_unformatted = true
fn_args_layout = "Tall"
fn_single_line = false
force_explicit_abi = true
force_multiline_blocks = false
format_code_in_doc_comments = true
format_generated_files = false
format_macro_matchers = false
format_macro_bodies = true
format_strings = false
imports_indent = "Block"
imports_layout = "Vertical"
indent_style = "Block"
match_block_trailing_comma = true
merge_derives = true
imports_granularity = "Item"
normalize_comments = true
normalize_doc_attributes = true
overflow_delimited_expr = true
remove_nested_parens = true
reorder_impl_items = true
reorder_imports = true
group_imports = "StdExternalCrate"
reorder_modules = true
space_after_colon = true
space_before_colon = false
spaces_around_ranges = false
struct_lit_single_line = false
trailing_comma = "Always"
trailing_semicolon = true
type_punctuation_density = "Wide"
use_try_shorthand = true
use_field_init_shorthand = false
where_single_line = false
wrap_comments = false