aboutsummaryrefslogtreecommitdiff
path: root/p2p/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'p2p/src/lib.rs')
-rw-r--r--p2p/src/lib.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/p2p/src/lib.rs b/p2p/src/lib.rs
index 8f3cf45..fc2c26d 100644
--- a/p2p/src/lib.rs
+++ b/p2p/src/lib.rs
@@ -65,4 +65,12 @@ pub use error::Error as P2pError;
pub use peer::{ArcPeer, PeerID};
pub use version::Version;
+pub mod endpoint {
+ pub use karyon_net::{Addr, Endpoint, Port};
+}
+
+pub mod keypair {
+ pub use karyon_core::crypto::{KeyPair, KeyPairType, PublicKey, SecretKey};
+}
+
use error::{Error, Result};