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
@@ -109,19 +109,21 @@ async fn build_interface(
let blockchain_rpc_client = Arc::new(BlockChainRpcClient::new(client.clone()));
let collator_node =
match pezkuwi_config.network.network_backend {
pezsc_network::config::NetworkBackendType::Libp2p =>
pezsc_network::config::NetworkBackendType::Libp2p => {
new_minimal_relay_chain::<
RelayBlock,
pezsc_network::NetworkWorker<RelayBlock, RelayHash>,
>(pezkuwi_config, collator_pair.clone(), blockchain_rpc_client)
.await?,
pezsc_network::config::NetworkBackendType::Litep2p =>
.await?
},
pezsc_network::config::NetworkBackendType::Litep2p => {
new_minimal_relay_chain::<RelayBlock, pezsc_network::Litep2pNetworkBackend>(
pezkuwi_config,
collator_pair.clone(),
blockchain_rpc_client,
)
.await?,
.await?
},
};
task_manager.add_child(collator_node.task_manager);
Ok((
@@ -110,8 +110,8 @@ pub(crate) fn build_collator_network<Network: NetworkBackend<Block, Hash>>(
}
fn adjust_network_config_light_in_peers(config: &mut NetworkConfiguration) {
let light_client_in_peers = (config.default_peers_set.in_peers +
config.default_peers_set.out_peers)
let light_client_in_peers = (config.default_peers_set.in_peers
+ config.default_peers_set.out_peers)
.saturating_sub(config.default_peers_set_num_full);
if light_client_in_peers > 0 {
tracing::debug!(target: crate::LOG_TARGET, "Detected {light_client_in_peers} peer slots for light clients. Since this minimal node does support\