toad-java/glue/rustfmt.toml

25 lines
498 B
TOML
Raw Normal View History

2023-04-04 22:36:01 +00:00
# General
max_width = 100
newline_style = "Unix"
tab_spaces = 2
indent_style = "Visual"
format_code_in_doc_comments = true
format_macro_bodies = true
# Match statements
match_arm_leading_pipes = "Always"
match_block_trailing_comma = true
# Structs
use_field_init_shorthand = true
struct_field_align_threshold = 0
# Enums
enum_discrim_align_threshold = 0
# Imports
group_imports = "StdExternalCrate"
imports_granularity = "Module"
imports_indent = "Visual"
imports_layout = "HorizontalVertical"