# Rust formatting configuration for lastid-rust-sdk
# https://rust-lang.github.io/rustfmt/

edition = "2024"
max_width = 100
hard_tabs = false
tab_spaces = 4
newline_style = "Unix"
use_small_heuristics = "Default"
reorder_imports = true
reorder_modules = true
remove_nested_parens = true
format_strings = false
format_macro_matchers = true
format_macro_bodies = true
imports_granularity = "Module"
group_imports = "StdExternalCrate"
merge_derives = true
use_try_shorthand = true
use_field_init_shorthand = true
force_explicit_abi = true
condense_wildcard_suffixes = true
format_code_in_doc_comments = true
doc_comment_code_block_width = 80
normalize_comments = true
normalize_doc_attributes = true
wrap_comments = true
comment_width = 80
