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
# Rustfmt configuration for tiktoken_rust
# Edition to use for formatting
= "2024"
# Maximum width of each line
= 100
# Maximum width of the args of a function call before falling back to vertical formatting
= 80
# Maximum width of the args of a function-like attributes before falling back to vertical formatting
= 80
# Maximum width in a struct literal before falling back to vertical formatting
= 80
# Maximum width in a struct variant before falling back to vertical formatting
= 80
# Maximum width of an array literal before falling back to vertical formatting
= 80
# Maximum width of a chain to fit on a single line
= 80
# Maximum width of a single line if-else expression
= 80
# How to indent
= false
= 4
# Newline style
= "Unix"
# Use field init shorthand if possible
= true
# Use try shorthand
= true
# Reorder imports
= true
# Reorder modules
= true
# Remove nested parens
= true