leo/.rustfmt.toml
2023-03-26 23:16:19 -07:00

17 lines
401 B
TOML

# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md
# Stable configurations
edition = "2021"
max_width = 120
merge_derives = true
use_field_init_shorthand = true
use_small_heuristics = "Max"
use_try_shorthand = true
# Nightly configurations
imports_layout = "HorizontalVertical"
imports_granularity = "Crate"
overflow_delimited_expr = true
reorder_impl_items = true
version = "Two"