chore(DX): Improve the DX #27
1 changed files with 22 additions and 0 deletions
22
rustfmt.toml
Normal file
22
rustfmt.toml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
unstable_features = true
|
||||||
|
version = "Two"
|
||||||
|
|
||||||
|
blank_lines_upper_bound = 2
|
||||||
|
combine_control_expr = false
|
||||||
|
wrap_comments = true
|
||||||
|
condense_wildcard_suffixes = true
|
||||||
|
edition = "2021"
|
||||||
|
enum_discrim_align_threshold = 20
|
||||||
|
force_multiline_blocks = true
|
||||||
|
format_code_in_doc_comments = true
|
||||||
|
format_generated_files = false
|
||||||
|
format_macro_matchers = true
|
||||||
|
format_strings = true
|
||||||
|
imports_layout = "HorizontalVertical"
|
||||||
|
newline_style = "Unix"
|
||||||
|
normalize_comments = true
|
||||||
|
reorder_impl_items = true
|
||||||
|
group_imports = "StdExternalCrate"
|
||||||
|
single_line_let_else_max_width = 0
|
||||||
|
struct_field_align_threshold = 20
|
||||||
|
use_try_shorthand = true
|
Loading…
Reference in a new issue