# Rustfmt configuration for Daedra
# Only stable options to ensure CI compatibility

# Maximum line width
max_width = 100

# Use spaces for indentation
hard_tabs = false
tab_spaces = 4

# Newline style
newline_style = "Auto"

# Import organization (stable options only)
reorder_imports = true
reorder_modules = true

# Struct formatting
struct_variant_width = 35

# Match formatting
match_block_trailing_comma = true

# Chain formatting
chain_width = 60

# Use field init shorthand
use_field_init_shorthand = true

# Use try shorthand
use_try_shorthand = true

# Edition
edition = "2024"
