style: Migrate to stable-only rustfmt configuration
- Remove nightly-only features from .rustfmt.toml and vendor/ss58-registry/rustfmt.toml - Removed features: imports_granularity, wrap_comments, comment_width, reorder_impl_items, spaces_around_ranges, binop_separator, match_arm_blocks, trailing_semicolon, trailing_comma - Format all 898 affected files with stable rustfmt - Ensures long-term reliability without nightly toolchain dependency
This commit is contained in:
+17
-10
@@ -1,24 +1,31 @@
|
||||
# Pezkuwi SDK - Stable Rustfmt Configuration
|
||||
# Only stable features are used for long-term reliability
|
||||
|
||||
# Basic
|
||||
edition = "2021"
|
||||
hard_tabs = true
|
||||
max_width = 100
|
||||
use_small_heuristics = "Max"
|
||||
|
||||
# Imports
|
||||
imports_granularity = "Crate"
|
||||
reorder_imports = 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
|
||||
|
||||
# NOTE: The following nightly-only features were removed for stable compatibility:
|
||||
# - imports_granularity = "Crate"
|
||||
# - wrap_comments = true
|
||||
# - comment_width = 100
|
||||
# - reorder_impl_items = false
|
||||
# - spaces_around_ranges = false
|
||||
# - binop_separator = "Back"
|
||||
# - match_arm_blocks = false
|
||||
# - trailing_semicolon = false
|
||||
# - trailing_comma = "Vertical"
|
||||
|
||||
Reference in New Issue
Block a user