mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-25 03:49:56 +00:00
Split the service initialisation up into seperate functions (#6332)
* Seperate out the complexity in ServiceBuilder::build_common into seperate functions * Fix line widths * Move some functions to their respective crates
This commit is contained in:
1 parent
c44947bbcb
commit
761dbd7dcc
19 files changed
+452
-330
No files matched your search
@@ -33,7 +33,6 @@ mod builder;
|
||||
pub mod client;
|
||||
#[cfg(not(feature = "test-helpers"))]
|
||||
mod client;
|
||||
mod status_sinks;
|
||||
mod task_manager;
|
||||
|
||||
use std::{io, pin::Pin};
|
||||
@@ -58,7 +57,7 @@ use codec::{Encode, Decode};
|
||||
use sp_runtime::generic::BlockId;
|
||||
use sp_runtime::traits::Block as BlockT;
|
||||
use parity_util_mem::MallocSizeOf;
|
||||
use sp_utils::mpsc::{tracing_unbounded, TracingUnboundedReceiver, TracingUnboundedSender};
|
||||
use sp_utils::{status_sinks, mpsc::{tracing_unbounded, TracingUnboundedReceiver, TracingUnboundedSender}};
|
||||
|
||||
pub use self::error::Error;
|
||||
pub use self::builder::{
|
||||
|
||||
Reference in new issue
Block a user