mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
23 lines
457 B
TOML
23 lines
457 B
TOML
edition = "2024"
|
|
style_edition = "2024"
|
|
|
|
# Width
|
|
max_width = 100
|
|
comment_width = 80
|
|
|
|
# Imports
|
|
group_imports = "StdExternalCrate"
|
|
imports_granularity = "Module"
|
|
|
|
# Formatting
|
|
use_field_init_shorthand = true
|
|
merge_derives = true
|
|
overflow_delimited_expr = true
|
|
format_code_in_doc_comments = true
|
|
format_macro_matchers = true
|
|
normalize_doc_attributes = true
|
|
wrap_comments = true
|
|
|
|
# Alignment
|
|
struct_field_align_threshold = 20
|
|
enum_discrim_align_threshold = 20
|