diff options
Diffstat (limited to 'p2p/examples/chat.rs')
-rw-r--r-- | p2p/examples/chat.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/p2p/examples/chat.rs b/p2p/examples/chat.rs index 4eafb07..d120f50 100644 --- a/p2p/examples/chat.rs +++ b/p2p/examples/chat.rs @@ -7,10 +7,9 @@ use async_trait::async_trait; use clap::Parser; use smol::{channel, Executor}; -use karyon_core::crypto::{KeyPair, KeyPairType}; -use karyon_net::{Endpoint, Port}; - use karyon_p2p::{ + endpoint::{Endpoint, Port}, + keypair::{KeyPair, KeyPairType}, protocol::{ArcProtocol, Protocol, ProtocolEvent, ProtocolID}, ArcPeer, Backend, Config, P2pError, Version, }; |