# Maximum line width.
= 100
# Use LF (\n) line endings.
= "Unix"
# Use field initialization shorthand when names match.
= true
# Use ? instead of try!.
= true
# Use spaces instead of tabs for indentation.
= false
# Number of spaces per indentation level.
= 4
# Merge multiple #[derive] attributes.
= true
# Remove unnecessary nested parentheses.
= true
# Parse source code using the 2024 edition. Cargo reads this from Cargo.toml,
# but editors such as rust-analyzer may invoke rustfmt directly with the 2015
# edition by default. Declaring it here keeps both behaviors consistent.
= "2024"
# Pin the 2024 formatting style to prevent toolchain upgrades from introducing
# repository-wide changes through new default formatting rules.
= "2024"
# Sort use declarations alphabetically.
= true
# Sort module declarations alphabetically.
= true