Created
July 6, 2019 13:50
-
-
Save stevenroose/468b01df07412b774a38a89453a82038 to your computer and use it in GitHub Desktop.
My rustfmt config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
indent_style = "Block" # default | |
use_small_heuristics = "Off" | |
binop_separator = "Front" # default, unstable | |
combine_control_expr = true # default, unstable | |
comment_width = 80 # default, unstable | |
condense_wildcard_suffixes = false # default, unstable | |
control_brace_style = "AlwaysSameLine" # default, unstable | |
disable_all_formatting = false # default, unstable | |
error_on_line_overflow = false # default, unstable | |
error_on_unformatted = false # default, unstable | |
fn_args_layout = "Tall" # default, unstable | |
brace_style = "SameLineWhere" # default, unstable | |
empty_item_single_line = true # default, unstable | |
enum_discrim_align_threshold = 0 # default, unstable | |
fn_single_line = false # default, unstable | |
where_single_line = false # default, unstable | |
force_explicit_abi = true # default, unstable | |
format_strings = true # unstable | |
format_macro_matchers = false # default, unstable | |
format_macro_bodies = true # default, unstable | |
hard_tabs = true | |
imports_indent = "Block" # default, unstable | |
imports_layout = "Mixed" # default, unstable | |
merge_imports = false # default, unstable | |
match_block_trailing_comma = true # unstable | |
max_width = 100 # default | |
merge_derives = true # default | |
force_multiline_blocks = false # default, unstable | |
newline_style = "Auto" # default | |
normalize_comments = true # unstable | |
remove_nested_parens = true # default | |
reorder_imports = true # default | |
reorder_modules = true # default | |
reorder_impl_items = false # default, unstable | |
report_todo = "Never" # default, unstable | |
report_fixme = "Never" # default, unstable | |
skip_children = false # default, unstable | |
space_after_colon = true # default, unstable | |
space_before_colon = true # default, unstable | |
struct_field_align_threshold = 0 # default, unstable | |
spaces_around_ranges = false # default, unstable | |
struct_lit_single_line = true # default, unstable | |
tab_spaces = 4 # default | |
trailing_comma = "Vertical" # default, unstable | |
trailing_semicolon = true # default, unstable | |
type_punctuation_density = "Wide" # default, unstable | |
use_field_init_shorthand = false # default | |
use_try_shorthand = true | |
format_code_in_doc_comments = true # unstable | |
wrap_comments = true # unstable | |
match_arm_blocks = true # default, unstable | |
overflow_delimited_expr = true # unstable | |
blank_lines_upper_bound = 1 # default, unstable | |
blank_lines_lower_bound = 0 # default, unstable | |
#required_version = "" # unstable | |
hide_parse_errors = false # default, unstable | |
color = "Auto" # default, unstable | |
unstable_features = true # unstable | |
license_template_path = "" # default, unstable | |
ignore = [] # default, unstable | |
edition = 2015 # default | |
version = "One" # default, unstable | |
normalize_doc_attributes = false # default, unstable | |
inline_attribute_width = 0 # default, unstable | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment