From 64c23e7425b277729170356e618b6e1a763962dc Mon Sep 17 00:00:00 2001 From: hozan23 Date: Mon, 20 May 2024 12:52:21 +0200 Subject: p2p: rexport keypair module from karyon_core --- p2p/src/protocol.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'p2p/src/protocol.rs') diff --git a/p2p/src/protocol.rs b/p2p/src/protocol.rs index 6153ea1..951040b 100644 --- a/p2p/src/protocol.rs +++ b/p2p/src/protocol.rs @@ -37,10 +37,11 @@ impl EventValue for ProtocolEvent { /// use async_trait::async_trait; /// use smol::Executor; /// -/// use karyon_core::crypto::{KeyPair, KeyPairType}; /// use karyon_p2p::{ /// protocol::{ArcProtocol, Protocol, ProtocolID, ProtocolEvent}, -/// Backend, PeerID, Config, Version, P2pError, ArcPeer}; +/// Backend, PeerID, Config, Version, P2pError, ArcPeer, +/// keypair::{KeyPair, KeyPairType}, +/// }; /// /// pub struct NewProtocol { /// peer: ArcPeer, -- cgit v1.2.3