leo/.rustfmt.toml

17 lines
408 B
TOML
Raw Normal View History

2020-06-08 08:53:45 +03:00
# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md
# Stable configurations
edition = "2021"
2020-06-08 08:53:45 +03:00
max_width = 120
merge_derives = true
use_field_init_shorthand = true
2023-03-27 09:16:19 +03:00
use_small_heuristics = "Max"
2020-06-08 08:53:45 +03:00
use_try_shorthand = true
# Nightly configurations
2023-03-27 09:16:19 +03:00
imports_layout = "HorizontalVertical"
imports_granularity = "Crate"
overflow_delimited_expr = true
reorder_impl_items = true
style_edition = "2024"