diff options
author | hozan23 <hozan23@proton.me> | 2023-11-29 11:44:53 +0300 |
---|---|---|
committer | hozan23 <hozan23@proton.me> | 2023-11-29 11:44:53 +0300 |
commit | 63e8b2fa6b5d4d9bf1ba9234bff0be8a255e612e (patch) | |
tree | d8291050228c7e23bdc9a7195df4505db0df1f93 /p2p/src/lib.rs | |
parent | 57ac163a06b7f4b00d9cfd56d0ab6ee6a49adb56 (diff) |
core: Move `key_pair` to the `crypto` module and make it a Cargo feature.
Diffstat (limited to 'p2p/src/lib.rs')
-rw-r--r-- | p2p/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/src/lib.rs b/p2p/src/lib.rs index 6585287..39f4bc1 100644 --- a/p2p/src/lib.rs +++ b/p2p/src/lib.rs @@ -7,7 +7,7 @@ //! use easy_parallel::Parallel; //! use smol::{channel as smol_channel, future, Executor}; //! -//! use karyons_core::key_pair::{KeyPair, KeyPairType}; +//! use karyons_core::crypto::{KeyPair, KeyPairType}; //! use karyons_p2p::{Backend, Config, PeerID}; //! //! let key_pair = KeyPair::generate(&KeyPairType::Ed25519); |