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
#### SETTINGS FOR AUTO FORMATTING SOURCES ####
## Before commiting run `cargo fmt` for all source files
## Checking of formatting is configured in github CI at file:
## - ./github/workflows/build-test-and-lint.yml
= "2024"
= "Unix"
# max_width = 100 # default 100
# tab_spaces = 4 # default 4
## Works on Stable and Nighly ##
= "Compressed" # Default: "Wide"
= true
= "Max" # Default: "Default"
= true
## Works on Nighly only ##
# condense_wildcard_suffixes = true
# format_code_in_doc_comments = true
# format_strings = true
# merge_imports = true
# normalize_comments = true
## Works on Nighly but Stable reverts it's changes ##
# enum_discrim_align_threshold = 40
# fn_single_line = true
# imports_indent = "Visual"
# match_block_trailing_comma = true
# overflow_delimited_expr = true
# struct_field_align_threshold = 40
# trailing_semicolon = true
# version = "Two"
# unstable_features = true
## END OF SETTINGS ##