apply fmt

This commit is contained in:
pgherveou
2025-10-08 09:27:11 +02:00
parent e16f8ebf59
commit c676114fe1
55 changed files with 11955 additions and 12728 deletions
+22 -31
View File
@@ -1,34 +1,25 @@
# Rustfmt configuration - configured to minimize changes
# Only stable features are used to ensure compatibility
# Edition
# Basic
edition = "2024"
# Line width
hard_tabs = true
max_width = 100
# Use small heuristics
use_small_heuristics = "Default"
# Formatting
newline_style = "Unix"
use_field_init_shorthand = true
use_try_shorthand = true
# Chains
chain_width = 60
# Function calls
fn_call_width = 60
# Structs
struct_lit_width = 18
# Arrays
array_width = 60
# Misc
use_small_heuristics = "Max"
# Imports
imports_granularity = "Crate"
reorder_imports = true
reorder_modules = true
remove_nested_parens = true
merge_derives = true
# Consistency
newline_style = "Unix"
# Misc
chain_width = 80
spaces_around_ranges = false
binop_separator = "Back"
reorder_impl_items = false
match_arm_leading_pipes = "Preserve"
match_arm_blocks = false
match_block_trailing_comma = true
trailing_comma = "Vertical"
trailing_semicolon = false
use_field_init_shorthand = true
# Format comments
comment_width = 100
wrap_comments = true