rustfmt.toml 1.7 KB

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