rustfmt.toml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # Config file for cargo fmt. Uncomment line to edit the default settings.
  2. # max_width = 100
  3. # hard_tabs = false
  4. # tab_spaces = 4
  5. # newline_style = "Auto"
  6. # use_small_heuristics = "Default"
  7. # indent_style = "Block"
  8. wrap_comments = true
  9. format_code_in_doc_comments = true
  10. comment_width = 80
  11. # normalize_comments = true
  12. # normalize_doc_attributes = true
  13. # license_template_path = ""
  14. format_strings = true
  15. # format_macro_matchers = true
  16. # format_macro_bodies = true
  17. # empty_item_single_line = true
  18. # struct_lit_single_line = true
  19. # fn_single_line = false
  20. # where_single_line = false
  21. # imports_indent = "Block"
  22. # imports_layout = "Mixed"
  23. # merge_imports = false
  24. # reorder_imports = true
  25. # reorder_modules = true
  26. # reorder_impl_items = false
  27. # type_punctuation_density = "Wide"
  28. # space_before_colon = false
  29. # space_after_colon = true
  30. # spaces_around_ranges = false
  31. # binop_separator = "Front"
  32. # remove_nested_parens = true
  33. # combine_control_expr = true
  34. # overflow_delimited_expr = false
  35. # struct_field_align_threshold = 0
  36. # enum_discrim_align_threshold = 0
  37. # match_arm_blocks = true
  38. # force_multiline_blocks = false
  39. # fn_args_layout = "Tall"
  40. # brace_style = "SameLineWhere"
  41. # control_brace_style = "AlwaysSameLine"
  42. # trailing_semicolon = true
  43. # trailing_comma = "Vertical"
  44. # match_block_trailing_comma = false
  45. # blank_lines_upper_bound = 1
  46. # blank_lines_lower_bound = 0
  47. edition = "2018"
  48. # version = "One"
  49. # inline_attribute_width = 0
  50. # merge_derives = true
  51. # use_try_shorthand = false
  52. # use_field_init_shorthand = false
  53. # force_explicit_abi = true
  54. # condense_wildcard_suffixes = false
  55. # color = "Auto"
  56. # required_version = "1.4.21"
  57. # unstable_features = false
  58. # disable_all_formatting = false
  59. # skip_children = false
  60. # hide_parse_errors = false
  61. # error_on_line_overflow = false
  62. # error_on_unformatted = false
  63. # report_todo = "Never"
  64. # report_fixme = "Never"
  65. # ignore = []
  66. # emit_mode = "Files"
  67. # make_backup = false