leo/.rustfmt.toml

17 lines
415 B
TOML

# https://github.com/rust-lang/rustfmt/blob/master/Configurations.md
# Stable configurations
edition = "2018"
max_width = 120
merge_derives = true
use_field_init_shorthand = true
use_try_shorthand = true
# Nightly configurations
imports_layout = "HorizontalVertical"
license_template_path = ".resources/license_header"
merge_imports = true
overflow_delimited_expr = true
reorder_impl_items = true
version = "Two"