# Specifies which edition is used by the parser.
# Default value: "2015"
= "2021"
# How imports should be grouped into use statements. Imports will be merged or split to the configured level of granularity.
# Default value: Preserve
= "Crate"
# Format the metavariable matching patterns in macros.
# Default value: false
= true
# Format string literals where necessary
# Default value: false
= true
# Reorder impl items. type and const are put first, then macros and methods.
# Default value: false
= true
# Controls the strategy for how imports are grouped together.
# Default value: Preserve
= "StdExternalCrate"
# Add trailing semicolon after break, continue and return
# Default value: true
= true
# Enable unstable features on the unstable channel.
# Default value: false
= true
# Use field initialize shorthand if possible.
# Default value: false
= true
# Break comments to fit on the line
# Default value: false
= true
# Which version of the formatting rules to use. Version::One is backwards-compatible with Rustfmt 1.0. Other versions are only backwards compatible within a major version number.
# Default value: "One"
= "Two"