Parse CLI options, including presets

This commit is contained in:
Teoh Han Hui 2024-06-26 08:33:06 +08:00
parent 7534371b05
commit bf2c3c51d4
No known key found for this signature in database
GPG key ID: D43E2BABAF97DCAE
12 changed files with 1043 additions and 2 deletions

18
rustfmt.toml Normal file
View file

@ -0,0 +1,18 @@
edition = "2021"
# empty_item_single_line = true
# error_on_line_overflow = true
# format_code_in_doc_comments = true
# format_strings = true
# group_imports = "StdExternalCrate"
# imports_granularity = "Module"
# imports_layout = "Mixed"
match_block_trailing_comma = true
newline_style = "Unix"
# normalize_comments = true
# normalize_doc_attributes = true
# overflow_delimited_expr = true
# reorder_impl_items = true
use_field_init_shorthand = true
use_try_shorthand = true
# wrap_comments = true