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
46
47
48
49
50
51
52
53
54
55
# Rustfmt configuration for spintronics library
# https://rust-lang.github.io/rustfmt/
# Maximum line width
= 100
# Use spaces, not tabs
= false
= 4
# Edition
= "2021"
# Import grouping
= "Module"
= "StdExternalCrate"
= true
= true
# Function and struct formatting
= false
= true
= 35
# Control flow formatting
= "AlwaysSameLine"
= true
# Comment formatting
= 100
= false
= false
= true
# String formatting
= false
# Macro formatting
= true
= true
# Use field init shorthand
= true
# Use try shorthand
= true
# Newline style (native for cross-platform)
= "Auto"
# Trailing semicolons
= true
# Force explicit paths in macros
= true