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:
2025-12-22 17:12:58 +03:00
parent 3208f208c0
commit abc4c3989b
898 changed files with 8671 additions and 6432 deletions
+7 -7
View File
@@ -231,8 +231,8 @@ where
let force_authoring = config.force_authoring;
let disable_grandpa = config.disable_grandpa;
let name = config.network.node_name.clone();
let backoff_authoring_blocks = if !force_authoring_backoff &&
(config.chain_spec.is_pezkuwi() || config.chain_spec.is_kusama())
let backoff_authoring_blocks = if !force_authoring_backoff
&& (config.chain_spec.is_pezkuwi() || config.chain_spec.is_kusama())
{
// the block authoring backoff is disabled by default on production networks
None
@@ -240,9 +240,9 @@ where
let mut backoff =
pezsc_consensus_slots::BackoffAuthoringOnFinalizedHeadLagging::default();
if config.chain_spec.is_pezkuwichain() ||
config.chain_spec.is_versi() ||
config.chain_spec.is_dev()
if config.chain_spec.is_pezkuwichain()
|| config.chain_spec.is_versi()
|| config.chain_spec.is_dev()
{
// on testnets that are in flux (like pezkuwichain or versi), finality has stalled
// sometimes due to operational issues and it's annoying to slow down block
@@ -316,8 +316,8 @@ where
//
// Collators and teyrchain full nodes require the collator and validator networking to send
// collations and to be able to recover PoVs.
let notification_services = if role.is_authority() ||
is_teyrchain_node.is_running_alongside_teyrchain_node()
let notification_services = if role.is_authority()
|| is_teyrchain_node.is_running_alongside_teyrchain_node()
{
use pezkuwi_network_bridge::{peer_sets_info, IsAuthority};
let is_authority = if role.is_authority() { IsAuthority::Yes } else { IsAuthority::No };