-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrustfmt.toml
More file actions
40 lines (40 loc) · 1.05 KB
/
rustfmt.toml
File metadata and controls
40 lines (40 loc) · 1.05 KB
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
edition = "2021"
max_width = 100
hard_tabs = false
tab_spaces = 4
newline_style = "Unix"
use_small_heuristics = "Max"
indent_style = "Block"
wrap_comments = true
comment_width = 100
normalize_comments = true
normalize_doc_attributes = true
format_code_in_doc_comments = true
format_macro_matchers = true
format_macro_bodies = true
format_strings = true
hex_literal_case = "Upper"
imports_granularity = "Crate"
imports_layout = "HorizontalVertical"
group_imports = "StdExternalCrate"
reorder_imports = true
reorder_modules = true
reorder_impl_items = true
fn_single_line = false
where_single_line = false
force_explicit_abi = true
force_multiline_blocks = true
trailing_comma = "Vertical"
trailing_semicolon = false
use_field_init_shorthand = true
use_try_shorthand = true
overflow_delimited_expr = true
struct_field_align_threshold = 0
enum_discrim_align_threshold = 0
match_arm_blocks = true
match_arm_leading_pipes = "Never"
match_block_trailing_comma = true
spaces_around_ranges = false
space_before_colon = false
space_after_colon = true
condense_wildcard_suffixes = true