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
# Rust formatting configuration for Mermaid
# Using only stable features
# Maximum line width
= 100
# Use spaces instead of tabs
= false
# Number of spaces per tab
= 4
# Reorder import statements
= true
# Reorder module statements
= true
# Merge multiple imports from same module
= "Default"
# Match block trailing comma
= true
# Chain width
= 60
# Single line if-else max width
= 50
# Use field init shorthand
= true
# Use try shorthand
= true
# Edition
= "2021"