There are two tables on this page. A list of Config option used and a list of config option with values
Number of crates with rustfmt.toml or .rustfmt.toml: 5,924 out of 186,701 crates
name | value | count |
---|---|---|
array_width | 79 | 1 |
array_width | 80 | 14 |
array_width | 100 | 4 |
array_width | 120 | 12 |
array_width | 50 | 2 |
array_width | 10 | 1 |
array_width | 95 | 2 |
array_width | 60 | 15 |
array_width | 72 | 1 |
array_width | 42 | 1 |
array_width | 140 | 1 |
attr_fn_like_width | 110 | 1 |
attr_fn_like_width | 79 | 1 |
attr_fn_like_width | 95 | 1 |
attr_fn_like_width | 112 | 1 |
attr_fn_like_width | 120 | 9 |
attr_fn_like_width | 84 | 1 |
attr_fn_like_width | 80 | 9 |
attr_fn_like_width | 60 | 1 |
attr_fn_like_width | 70 | 12 |
attr_fn_like_width | 100 | 1 |
attr_fn_like_width | 20 | 1 |
binop_separator | back | 4 |
binop_separator | Back | 25 |
binop_separator | Front | 21 |
blank_lines_lower_bound | 1 | 1 |
blank_lines_lower_bound | 0 | 37 |
blank_lines_upper_bound | 2 | 118 |
blank_lines_upper_bound | 1 | 40 |
blank_lines_upper_bound | 3 | 2 |
blank_lines_upper_bound | 5 | 1 |
brace_style | SameLineWhere | 25 |
brace_style | PreferSameLine | 12 |
brace_style | AlwaysNextLine | 116 |
brace_style | alwaysnextline | 2 |
chain_width | 60 | 20 |
chain_width | 100 | 2 |
chain_width | 80 | 28 |
chain_width | 75 | 1 |
chain_width | 70 | 6 |
chain_width | 40 | 6 |
chain_width | 62 | 1 |
chain_width | 110 | 1 |
chain_width | 90 | 3 |
chain_width | 72 | 1 |
chain_width | 120 | 13 |
chain_width | 95 | 1 |
chain_width | 50 | 17 |
chain_width | 79 | 1 |
chain_width | 140 | 1 |
chain_width | 10 | 1 |
color | Auto | 20 |
color | Always | 1 |
color | Never | 1 |
combine_control_expr | false | 11 |
combine_control_expr | true | 22 |
comment_width | 99 | 1 |
comment_width | 70 | 4 |
comment_width | 120 | 21 |
comment_width | 160 | 1 |
comment_width | 200 | 1 |
comment_width | 110 | 1 |
comment_width | 132 | 1 |
comment_width | 80 | 28 |
comment_width | 90 | 2 |
comment_width | 222 | 3 |
comment_width | 100 | 90 |
comment_width | 170 | 2 |
comment_width | 79 | 5 |
comment_width | 115 | 2 |
condense_wildcard_suffixes | true | 61 |
condense_wildcard_suffixes | false | 12 |
control_brace_style | AlwaysSameLine | 27 |
control_brace_style | ClosingNextLine | 5 |
control_brace_style | AlwaysNextLine | 113 |
disable_all_formatting | false | 25 |
disable_all_formatting | true | 6 |
doc_comment_code_block_width | 500 | 1 |
doc_comment_code_block_width | 96 | 2 |
doc_comment_code_block_width | 79 | 1 |
doc_comment_code_block_width | 80 | 4 |
doc_comment_code_block_width | 95 | 1 |
doc_comment_code_block_width | 120 | 2 |
doc_comment_code_block_width | 100 | 26 |
edition | 2021 | 344 |
edition | 2024 | 128 |
edition | 2015 | 2 |
edition | 2018 | 37 |
emit_mode | Files | 19 |
empty_item_single_line | false | 4 |
empty_item_single_line | true | 133 |
enum_discrim_align_threshold | 999 | 1 |
enum_discrim_align_threshold | 4 | 1 |
enum_discrim_align_threshold | 15 | 2 |
enum_discrim_align_threshold | 20 | 14 |
enum_discrim_align_threshold | 10 | 1 |
enum_discrim_align_threshold | 50 | 2 |
enum_discrim_align_threshold | 60 | 1 |
enum_discrim_align_threshold | 30 | 1 |
enum_discrim_align_threshold | 35 | 2 |
enum_discrim_align_threshold | 40 | 4 |
enum_discrim_align_threshold | 80 | 1 |
enum_discrim_align_threshold | 5 | 4 |
enum_discrim_align_threshold | 0 | 16 |
enum_discrim_align_threshold | 8 | 3 |
error_on_line_overflow | true | 35 |
error_on_line_overflow | false | 21 |
error_on_line_overflow_comments | false | 1 |
error_on_unformatted | true | 15 |
error_on_unformatted | false | 36 |
fn_args_density | Tall | 1 |
fn_args_density | Compressed | 3 |
fn_args_layout | Vertical | 1 |
fn_args_layout | Compressed | 15 |
fn_args_layout | Tall | 111 |
fn_args_paren_newline | false | 3 |
fn_call_width | 110 | 1 |
fn_call_width | 60 | 12 |
fn_call_width | 140 | 1 |
fn_call_width | 500 | 1 |
fn_call_width | 120 | 22 |
fn_call_width | 79 | 1 |
fn_call_width | 96 | 3 |
fn_call_width | 88 | 1 |
fn_call_width | 80 | 13 |
fn_call_width | 45 | 1 |
fn_call_width | 10 | 1 |
fn_call_width | 100 | 7 |
fn_call_width | 90 | 1 |
fn_call_width | 64 | 1 |
fn_call_width | 50 | 1 |
fn_call_width | 62 | 1 |
fn_call_width | 72 | 1 |
fn_call_width | 300 | 1 |
fn_params_layout | Compressed | 51 |
fn_params_layout | Tall | 29 |
fn_params_layout | Vertical | 12 |
fn_single_line | true | 152 |
fn_single_line | false | 28 |
force_explicit_abi | true | 44 |
force_explicit_abi | false | 6 |
force_multiline_blocks | false | 20 |
force_multiline_blocks | true | 15 |
format_code_in_doc_comments | false | 8 |
format_code_in_doc_comments | true | 235 |
format_generated_files | false | 3 |
format_generated_files | true | 13 |
format_macro_bodies | false | 2 |
format_macro_bodies | true | 66 |
format_macro_matchers | true | 124 |
format_macro_matchers | false | 9 |
format_strings | true | 111 |
format_strings | false | 16 |
generated_marker_line_search_limit | 3 | 1 |
generated_marker_line_search_limit | 5 | 2 |
group_imports | One | 35 |
group_imports | StdExternalCrate | 344 |
group_imports | Preserve | 114 |
hard_tabs | false | 190 |
hard_tabs | true | 75 |
hex_literal_case | Preserve | 5 |
hex_literal_case | Lower | 20 |
hex_literal_case | Upper | 24 |
hide_parse_errors | false | 6 |
ideal_width | 128 | 3 |
ignore | [] | 20 |
ignore | ["src/macros.rs"] | 1 |
ignore | ["odra-macros/src/ast/*"] | 1 |
ignore | ["codegen/*"] | 1 |
ignore | ["steamworks-sys"] | 1 |
imports_granularity | item | 1 |
imports_granularity | crate | 4 |
imports_granularity | One | 23 |
imports_granularity | Crate | 314 |
imports_granularity | module | 2 |
imports_granularity | Item | 26 |
imports_granularity | Preserve | 110 |
imports_granularity | Module | 134 |
imports_indent | Visual | 2 |
imports_indent | Block | 30 |
imports_layout | Vertical | 37 |
imports_layout | Mixed | 126 |
imports_layout | Horizontal | 6 |
imports_layout | HorizontalVertical | 40 |
indent_style | visual | 2 |
indent_style | Block | 42 |
indent_style | Visual | 3 |
inline_attribute_width | 0 | 20 |
inline_attribute_width | 50 | 3 |
inline_attribute_width | 100 | 1 |
inline_attribute_width | 80 | 3 |
inline_attribute_width | 60 | 1 |
license_template_path | 2 | |
license_template_path | etc/license.template | 1 |
line_width | 80 | 3 |
make_backup | false | 19 |
match_arm_blocks | true | 18 |
match_arm_blocks | false | 22 |
match_arm_leading_pipes | Always | 3 |
match_arm_leading_pipes | Never | 25 |
match_arm_leading_pipes | Preserve | 123 |
match_block_trailing_comma | true | 103 |
match_block_trailing_comma | false | 23 |
max_empty_line_to_keept | 1 | 1 |
max_width | 160 | 22 |
max_width | 79 | 12 |
max_width | 175 | 1 |
max_width | 78 | 4 |
max_width | 170 | 2 |
max_width | 132 | 1 |
max_width | 240 | 2 |
max_width | 80 | 92 |
max_width | 82 | 2 |
max_width | 256 | 1 |
max_width | 99 | 3 |
max_width | 114 | 3 |
max_width | 250 | 1 |
max_width | 69 | 1 |
max_width | 200 | 3 |
max_width | 120 | 118 |
max_width | 144 | 2 |
max_width | 128 | 7 |
max_width | 75 | 1 |
max_width | 125 | 5 |
max_width | 500 | 1 |
max_width | 110 | 3 |
max_width | 95 | 1 |
max_width | 100 | 180 |
max_width | 85 | 2 |
max_width | 150 | 27 |
max_width | 115 | 3 |
max_width | 130 | 112 |
max_width | 96 | 1 |
max_width | 70 | 2 |
max_width | 90 | 14 |
max_width | 88 | 3 |
max_width | 140 | 19 |
max_width | 92 | 1 |
max_width | 136 | 1 |
merge_derives | false | 39 |
merge_derives | true | 62 |
merge_imports | true | 4 |
merge_imports | false | 1 |
newline_style | Unix | 303 |
newline_style | unix | 13 |
newline_style | Windows | 1 |
newline_style | Auto | 29 |
newline_style | Native | 15 |
normalize_comments | false | 8 |
normalize_comments | true | 95 |
normalize_doc_attributes | false | 10 |
normalize_doc_attributes | true | 88 |
overflow_delimited_expr | true | 76 |
overflow_delimited_expr | false | 11 |
print_misformatted_file_names | false | 1 |
print_misformatted_file_names | true | 2 |
remove_nested_parens | true | 55 |
reorder_impl_items | false | 24 |
reorder_impl_items | true | 224 |
reorder_imported_names | true | 1 |
reorder_imports | false | 121 |
reorder_imports | true | 255 |
reorder_imports_in_group | true | 1 |
reorder_modules | true | 114 |
reorder_modules | false | 5 |
report_fixme | Never | 2 |
report_fixme | Unnumbered | 1 |
report_todo | Never | 2 |
report_todo | Unnumbered | 1 |
required_version | 1.8.0 | 5 |
required_version | 1.4.12 | 1 |
required_version | 0.99.4 | 1 |
separate_definition_blocks | always | 1 |
short_array_element_width_threshold | 10 | 15 |
short_array_element_width_threshold | 5 | 1 |
short_array_element_width_threshold | 100 | 1 |
short_array_element_width_threshold | 20 | 1 |
short_array_element_width_threshold | 12 | 1 |
short_array_element_width_threshold | 0 | 4 |
show_parse_errors | true | 15 |
single_line_if_else_max_width | 96 | 1 |
single_line_if_else_max_width | 50 | 14 |
single_line_if_else_max_width | 60 | 10 |
single_line_if_else_max_width | 79 | 1 |
single_line_if_else_max_width | 100 | 4 |
single_line_if_else_max_width | 150 | 3 |
single_line_if_else_max_width | 20 | 1 |
single_line_if_else_max_width | 120 | 9 |
single_line_if_else_max_width | 0 | 2 |
single_line_if_else_max_width | 40 | 1 |
single_line_if_else_max_width | 80 | 15 |
single_line_if_else_max_width | 75 | 1 |
single_line_if_else_max_width | 144 | 1 |
single_line_if_else_max_width | 140 | 1 |
single_line_let_else_max_width | 75 | 1 |
single_line_let_else_max_width | 115 | 2 |
single_line_let_else_max_width | 79 | 1 |
single_line_let_else_max_width | 0 | 1 |
single_line_let_else_max_width | 100 | 6 |
single_line_let_else_max_width | 60 | 9 |
single_line_let_else_max_width | 40 | 1 |
single_line_let_else_max_width | 50 | 8 |
single_line_let_else_max_width | 80 | 4 |
single_line_let_else_max_width | 120 | 8 |
single_line_let_else_max_width | 20 | 1 |
skip_children | false | 21 |
skip_macro_invocations | ["*"] | 2 |
skip_macro_invocations | [] | 3 |
space_after_colon | true | 135 |
space_before_colon | false | 24 |
space_before_colon | true | 109 |
spaces_around_ranges | false | 35 |
spaces_around_ranges | true | 115 |
struct_field_align_threshold | 15 | 2 |
struct_field_align_threshold | 60 | 1 |
struct_field_align_threshold | 8 | 3 |
struct_field_align_threshold | 20 | 24 |
struct_field_align_threshold | 50 | 2 |
struct_field_align_threshold | 999 | 1 |
struct_field_align_threshold | 5 | 1 |
struct_field_align_threshold | 10 | 1 |
struct_field_align_threshold | 150 | 1 |
struct_field_align_threshold | 4 | 1 |
struct_field_align_threshold | 0 | 20 |
struct_field_align_threshold | 40 | 4 |
struct_field_align_threshold | 80 | 1 |
struct_lit_single_line | false | 5 |
struct_lit_single_line | true | 25 |
struct_lit_width | 36 | 3 |
struct_lit_width | 50 | 5 |
struct_lit_width | 22 | 1 |
struct_lit_width | 18 | 11 |
struct_lit_width | 100 | 1 |
struct_lit_width | 40 | 20 |
struct_lit_width | 0 | 2 |
struct_lit_width | 30 | 1 |
struct_lit_width | 60 | 2 |
struct_lit_width | 120 | 9 |
struct_lit_width | 140 | 1 |
struct_trailing_comma | Always | 3 |
struct_variant_width | 40 | 10 |
struct_variant_width | 120 | 9 |
struct_variant_width | 0 | 2 |
struct_variant_width | 100 | 1 |
struct_variant_width | 50 | 2 |
struct_variant_width | 140 | 1 |
struct_variant_width | 42 | 1 |
struct_variant_width | 35 | 15 |
struct_variant_width | 60 | 3 |
style_edition | 2024 | 137 |
style_edition | 2021 | 15 |
style_edition | 2015 | 1 |
tab_spaces | 4 | 102 |
tab_spaces | 8 | 2 |
tab_spaces | 2 | 226 |
tab_spaces | 3 | 1 |
trailing_comma | Never | 22 |
trailing_comma | Vertical | 50 |
trailing_comma | Always | 2 |
trailing_semicolon | false | 22 |
trailing_semicolon | true | 31 |
type_punctuation_density | Wide | 136 |
unstable_features | true | 259 |
unstable_features | false | 12 |
use_field_init_shorthand | false | 24 |
use_field_init_shorthand | true | 277 |
use_small_heuristics | Max | 186 |
use_small_heuristics | Default | 159 |
use_small_heuristics | Off | 11 |
use_small_heuristics | max | 9 |
use_try_shorthand | true | 241 |
use_try_shorthand | false | 24 |
version | Two | 10 |
version | One | 5 |
where_single_line | false | 133 |
where_single_line | true | 16 |
wrap_comments | true | 278 |
wrap_comments | false | 28 |