# Rustfmt configuration for dbc-rs workspace
# See https://rust-lang.github.io/rustfmt/ for all options

# Edition
edition = "2024"

# Formatting options
max_width = 100
tab_spaces = 4
newline_style = "Unix"
use_small_heuristics = "Default"

# Imports
reorder_imports = true

# Other
chain_width = 80
single_line_if_else_max_width = 50
use_field_init_shorthand = true
use_try_shorthand = true
