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
# Rustfmt configuration for bevy_mqtt
# See https://rust-lang.github.io/rustfmt/ for full options
# Stable options
= "2024"
= 100
= false
= 4
= "Unix"
= "Default"
# Unstable options (require nightly)
# uncomment if using nightly rustfmt
# imports_granularity = "Crate"
# reorder_imports = true
# reorder_modules = true
# group_imports = "StdExternalCrate"
# Format strings
#format_strings = true
#format_macro_matchers = true
#
## Comments and documentation
#normalize_comments = true
#normalize_doc_attributes = true
#wrap_comments = true
#comment_width = 80
#
## Function formatting
#fn_params_layout = "Tall"
#brace_style = "SameLineWhere"
#control_brace_style = "AlwaysSameLine"
#
#
#
## Struct and enum formatting
#struct_field_align_threshold = 0
#enum_discrim_align_threshold = 0
#
## Trailing elements
#trailing_comma = "Vertical"
#trailing_semicolon = true
#
## Spaces
#spaces_around_ranges = false
#type_punctuation_density = "Wide"
#
## Misc
#remove_nested_parens = true
#use_field_init_shorthand = true
#force_explicit_abi = true
#condense_wildcard_suffixes = true