Init
This commit is contained in:
40
rustfmt.toml
Normal file
40
rustfmt.toml
Normal file
@ -0,0 +1,40 @@
|
||||
array_width = 100
|
||||
attr_fn_like_width = 100
|
||||
binop_separator = "Front"
|
||||
blank_lines_lower_bound = 0
|
||||
blank_lines_upper_bound = 1
|
||||
brace_style = "SameLineWhere"
|
||||
control_brace_style = "AlwaysSameLine"
|
||||
chain_width = 100
|
||||
combine_control_expr = true
|
||||
comment_width = 120
|
||||
condense_wildcard_suffixes = true
|
||||
edition = "2021"
|
||||
empty_item_single_line = true
|
||||
enum_discrim_align_threshold = 20
|
||||
fn_call_width = 100
|
||||
fn_params_layout = "Tall"
|
||||
fn_single_line = true
|
||||
force_multiline_blocks = false
|
||||
format_code_in_doc_comments = true
|
||||
doc_comment_code_block_width = 120
|
||||
format_generated_files = true
|
||||
format_macro_matchers = true
|
||||
format_macro_bodies = true
|
||||
format_strings = true
|
||||
hard_tabs = false
|
||||
imports_indent = "Visual"
|
||||
imports_layout = "HorizontalVertical"
|
||||
indent_style = "Block"
|
||||
inline_attribute_width = 0
|
||||
max_width = 120
|
||||
imports_granularity = "Module"
|
||||
newline_style = "Unix"
|
||||
reorder_impl_items = true
|
||||
reorder_imports = true
|
||||
group_imports = "StdExternalCrate"
|
||||
single_line_let_else_max_width = 0
|
||||
spaces_around_ranges = false
|
||||
struct_lit_single_line = false
|
||||
tab_spaces = 2
|
||||
trailing_comma = "Vertical"
|
||||
Reference in New Issue
Block a user