semaphore-rs/rustfmt.toml

20 lines
574 B
TOML

# See: https://github.com/rust-lang/rustfmt/blob/master/Configurations.md
edition = "2021"
# group_imports = "One"
imports_granularity = "Crate"
use_field_init_shorthand = true
wrap_comments = true
comment_width = 80
struct_field_align_threshold = 20
enum_discrim_align_threshold = 20
condense_wildcard_suffixes = true
format_strings = true
format_macro_matchers = true
format_macro_bodies = true
normalize_comments = true
reorder_impl_items = true
format_code_in_doc_comments = true
overflow_delimited_expr = true
normalize_doc_attributes = true
hex_literal_case = "Lower"