| 1 |
# Basic |
| 2 |
edition = "2021" |
| 3 |
max_width = 100 |
| 4 |
use_small_heuristics = "Max" |
| 5 |
# Imports |
| 6 |
imports_granularity = "Crate" |
| 7 |
reorder_imports = true |
| 8 |
# Consistency |
| 9 |
newline_style = "Unix" |
| 10 |
# Misc |
| 11 |
chain_width = 80 |
| 12 |
spaces_around_ranges = false |
| 13 |
binop_separator = "Back" |
| 14 |
reorder_impl_items = false |
| 15 |
match_arm_leading_pipes = "Preserve" |
| 16 |
match_arm_blocks = false |
| 17 |
match_block_trailing_comma = true |
| 18 |
trailing_comma = "Vertical" |
| 19 |
trailing_semicolon = false |
| 20 |
use_field_init_shorthand = true |
| 21 |
# Format comments |
| 22 |
comment_width = 100 |
| 23 |
wrap_comments = true |