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
# Rustfmt configuration for UTPM
# See https://rust-lang.github.io/rustfmt/ for all options
# Only stable features are enabled by default
= "2024"
# Stable formatting options
= 100
= false
= 4
= "Unix"
# Imports
= true
# Misc stable options
= true
= true
= true
= true
# Deprecated option replaced
= "Tall"
# NOTE: Many formatting options require nightly Rust.
# To use advanced formatting features, install nightly and uncomment below:
#
# unstable_features = true
# imports_granularity = "Crate"
# group_imports = "StdExternalCrate"
# normalize_comments = true
# wrap_comments = true
# comment_width = 100
# format_code_in_doc_comments = true
# format_strings = true
# format_macro_matchers = true
# format_macro_bodies = true
# struct_lit_single_line = false
# fn_single_line = false
# where_single_line = false
# overflow_delimited_expr = true
# force_multiline_blocks = false
# brace_style = "SameLineWhere"
# control_brace_style = "AlwaysSameLine"
# trailing_comma = "Vertical"