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
# Rust format configuration for M2M Protocol
# https://rust-lang.github.io/rustfmt/
#
# Note: Only stable options are enabled. Nightly options are commented.
= "2021"
# Line width
= 100
# Imports
= true
= true
# Functions
= "Tall"
# Control flow
= true
# Misc
= true
= true
= true
= "Unix"
# =============================================================================
# Nightly-only options (uncomment if using nightly rustfmt)
# =============================================================================
# comment_width = 100
# wrap_comments = true
# imports_granularity = "Module"
# group_imports = "StdExternalCrate"
# fn_single_line = false
# struct_lit_single_line = true
# enum_discrim_align_threshold = 20
# match_arm_blocks = true
# format_strings = false
# doc_comment_code_block_width = 80
# format_code_in_doc_comments = true
# normalize_doc_attributes = true