28 lines
669 B
TOML
28 lines
669 B
TOML
# Rustfmt configuration for NOS Bootloader
|
|
|
|
edition = "2024"
|
|
hard_tabs = false
|
|
tab_spaces = 4
|
|
newline_style = "Auto"
|
|
use_small_heuristics = "Default"
|
|
reorder_imports = true
|
|
reorder_modules = true
|
|
remove_nested_parens = true
|
|
space_after_colon = true
|
|
space_before_colon = false
|
|
spaces_around_ranges = false
|
|
struct_literal_style = "Block"
|
|
use_try_shorthand = true
|
|
use_field_init_shorthand = true
|
|
force_explicit_abi = true
|
|
max_width = 100
|
|
comment_width = 80
|
|
format_code_in_doc_comments = true
|
|
normalize_comments = true
|
|
wrap_comments = true
|
|
match_block_trailing_comma = true
|
|
fn_single_line = false
|
|
where_single_line = false
|
|
imports_indent = "Block"
|
|
imports_layout = "Mixed"
|