Cargo fmt

This commit is contained in:
danielSanchezQ 2024-07-31 13:22:18 +02:00
parent 24e1b237c5
commit 451e4628ec
4 changed files with 6 additions and 6 deletions

View File

@ -18,10 +18,10 @@ pub use nomos_core::{
use nomos_da_verifier::backend::kzgrs::KzgrsDaVerifier; use nomos_da_verifier::backend::kzgrs::KzgrsDaVerifier;
#[cfg(feature = "tracing")] #[cfg(feature = "tracing")]
use nomos_log::Logger; use nomos_log::Logger;
use nomos_mempool::{backend::mockpool::MockPool, TxMempoolService};
use nomos_mempool::da::service::DaMempoolService; use nomos_mempool::da::service::DaMempoolService;
use nomos_mempool::da::verify::kzgrs::DaVerificationProvider as MempoolVerificationProvider; use nomos_mempool::da::verify::kzgrs::DaVerificationProvider as MempoolVerificationProvider;
use nomos_mempool::network::adapters::libp2p::Libp2pAdapter as MempoolNetworkAdapter; use nomos_mempool::network::adapters::libp2p::Libp2pAdapter as MempoolNetworkAdapter;
use nomos_mempool::{backend::mockpool::MockPool, TxMempoolService};
#[cfg(feature = "metrics")] #[cfg(feature = "metrics")]
use nomos_metrics::Metrics; use nomos_metrics::Metrics;
use nomos_network::backends::libp2p::Libp2p as NetworkBackend; use nomos_network::backends::libp2p::Libp2p as NetworkBackend;

View File

@ -5,12 +5,12 @@ use std::task::{Context, Poll};
// crates // crates
use either::Either; use either::Either;
use indexmap::IndexSet; use indexmap::IndexSet;
use libp2p::{Multiaddr, PeerId};
use libp2p::core::Endpoint; use libp2p::core::Endpoint;
use libp2p::swarm::{ use libp2p::swarm::{
ConnectionDenied, ConnectionId, FromSwarm, NetworkBehaviour, NotifyHandler, THandler, ConnectionDenied, ConnectionId, FromSwarm, NetworkBehaviour, NotifyHandler, THandler,
THandlerInEvent, THandlerOutEvent, ToSwarm, THandlerInEvent, THandlerOutEvent, ToSwarm,
}; };
use libp2p::{Multiaddr, PeerId};
use log::{error, trace}; use log::{error, trace};
use subnetworks_assignations::MembershipHandler; use subnetworks_assignations::MembershipHandler;

View File

@ -6,10 +6,10 @@ use futures::Future;
// crates // crates
use futures::future::BoxFuture; use futures::future::BoxFuture;
use futures::prelude::*; use futures::prelude::*;
use libp2p::{Stream, StreamProtocol};
use libp2p::core::upgrade::ReadyUpgrade; use libp2p::core::upgrade::ReadyUpgrade;
use libp2p::swarm::{ConnectionHandler, ConnectionHandlerEvent, SubstreamProtocol};
use libp2p::swarm::handler::{ConnectionEvent, FullyNegotiatedInbound, FullyNegotiatedOutbound}; use libp2p::swarm::handler::{ConnectionEvent, FullyNegotiatedInbound, FullyNegotiatedOutbound};
use libp2p::swarm::{ConnectionHandler, ConnectionHandlerEvent, SubstreamProtocol};
use libp2p::{Stream, StreamProtocol};
use log::trace; use log::trace;
use tracing::error; use tracing::error;

View File

@ -7,12 +7,12 @@ mod test {
use std::time::Duration; use std::time::Duration;
use futures::StreamExt; use futures::StreamExt;
use libp2p::{Multiaddr, PeerId, quic, Swarm};
use libp2p::identity::Keypair; use libp2p::identity::Keypair;
use libp2p::swarm::SwarmEvent; use libp2p::swarm::SwarmEvent;
use libp2p::{quic, Multiaddr, PeerId, Swarm};
use log::info; use log::info;
use tracing_subscriber::EnvFilter;
use tracing_subscriber::fmt::TestWriter; use tracing_subscriber::fmt::TestWriter;
use tracing_subscriber::EnvFilter;
use nomos_da_messages::common::Blob; use nomos_da_messages::common::Blob;
use subnetworks_assignations::MembershipHandler; use subnetworks_assignations::MembershipHandler;