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/examples/monitor.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'p2p/examples/monitor.rs') diff --git a/p2p/examples/monitor.rs b/p2p/examples/monitor.rs index 019f751..5da55aa 100644 --- a/p2p/examples/monitor.rs +++ b/p2p/examples/monitor.rs @@ -5,10 +5,11 @@ use std::sync::Arc; use clap::Parser; use smol::{channel, Executor}; -use karyon_core::crypto::{KeyPair, KeyPairType}; -use karyon_net::{Endpoint, Port}; - -use karyon_p2p::{Backend, Config}; +use karyon_p2p::{ + endpoint::{Endpoint, Port}, + keypair::{KeyPair, KeyPairType}, + Backend, Config, +}; use shared::run_executor; -- cgit v1.2.3