aboutsummaryrefslogtreecommitdiff
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2024-05-08 10:28:04 -0400
committerNathan Perry <np@nathanperry.dev>2024-05-08 14:16:01 -0400
commitfe467f60d99efa54f2ef64606e7d39b9b06d7294 (patch)
treea62bb50fedb1959d1a155878f0ff0ab7b1f699b6 /.rustfmt.toml
parent48aa684dece2696e21fd871eb6f3825f28fe0200 (diff)
update all deps
Diffstat (limited to '.rustfmt.toml')
-rw-r--r--.rustfmt.toml44
1 files changed, 44 insertions, 0 deletions
diff --git a/.rustfmt.toml b/.rustfmt.toml
new file mode 100644
index 0000000..700c0b5
--- /dev/null
+++ b/.rustfmt.toml
@@ -0,0 +1,44 @@
+blank_lines_upper_bound = 1
+brace_style = "SameLineWhere"
+condense_wildcard_suffixes = true
+control_brace_style = "AlwaysSameLine"
+edition = "2018"
+empty_item_single_line = true
+enum_discrim_align_threshold = 25
+fn_args_layout = "Tall"
+force_explicit_abi = true
+force_multiline_blocks = false
+format_macro_matchers = true
+format_macro_bodies = true
+hard_tabs = false
+imports_indent = "Block"
+imports_layout = "Vertical"
+indent_style = "Block"
+inline_attribute_width = 0
+match_arm_blocks = true
+match_block_trailing_comma = true
+max_width = 100
+merge_derives = true
+imports_granularity="Crate"
+newline_style = "Unix"
+normalize_comments = true
+normalize_doc_attributes = true
+overflow_delimited_expr = true
+remove_nested_parens = true
+reorder_impl_items = true
+reorder_imports = true
+reorder_modules = true
+space_after_colon = true
+space_before_colon = false
+spaces_around_ranges = false
+struct_field_align_threshold = 25
+struct_lit_single_line = true
+tab_spaces = 4
+trailing_comma = "Vertical"
+trailing_semicolon = true
+type_punctuation_density = "Wide"
+use_field_init_shorthand = true
+use_small_heuristics = "Off"
+use_try_shorthand = true
+version = "Two"
+where_single_line = false