# rustfmt configuration — stable-only options (toolchain is pinned stable).
# Keep this in sync with the pinned channel in rust-toolchain.toml.
edition = "2021"
max_width = 100
tab_spaces = 4
newline_style = "Unix"
use_small_heuristics = "Max"
imports_granularity = "Crate"
group_imports = "StdExternalCrate"
reorder_imports = true
use_field_init_shorthand = true
use_try_shorthand = true