aboutsummaryrefslogtreecommitdiff
path: root/rustfmt.toml
blob: 6a5c54c36964501ae212e98f4a2e7f31748942d3 (plain) (blame)
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
condense_wildcard_suffixes = true
edition = "2018"
enum_discrim_align_threshold = 20
error_on_line_overflow = true
error_on_unformatted = true
fn_single_line = true
force_multiline_blocks = true
format_code_in_doc_comments = true
format_macro_matchers = true
format_strings = true
imports_layout = "HorizontalVertical"
license_template_path = ".license_template"
match_arm_blocks = false
imports_granularity = "Crate"
newline_style = "Unix"
normalize_comments = true
normalize_doc_attributes = true
reorder_impl_items = true
group_imports = "StdExternalCrate"
reorder_modules = true
report_fixme = "Always"
#report_todo = "Always"
struct_field_align_threshold = 20
struct_lit_single_line = false
tab_spaces = 2
use_field_init_shorthand = true
use_try_shorthand = true
where_single_line = true
wrap_comments = true