-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrustfmt.toml
More file actions
32 lines (31 loc) · 905 Bytes
/
rustfmt.toml
File metadata and controls
32 lines (31 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Formatting configuration for the CroftSoft Spin Prototype
# https://rust-lang.github.io/rustfmt/
#
# Copyright 2023 CroftSoft Inc
# https://www.CroftSoft.com/
# Author: David Wallace Croft
# https://www.CroftSoft.com/people/david/
# Created: 2023-11-25
# Updated: 2023-11-25
array_width = 1
# condense_wildcard_suffixes = true
fn_params_layout = "Vertical"
# group_imports = "StdExternalCrate"
hard_tabs = false
# imports_layout = "HorizontalVertical"
match_block_trailing_comma = true
# https://www.w3.org/WAI/tutorials/page-structure/styling/#line-length
max_width = 80
merge_derives = true
newline_style = "Unix"
# normalize_comments = true
remove_nested_parens = true
single_line_if_else_max_width = 0
# single_line_let_else_max_width = 0
struct_lit_width = 0
struct_variant_width = 0
tab_spaces = 2
use_field_init_shorthand = true
use_try_shorthand = true
# version = "Two"
# wrap_comments = true