diff options
Diffstat (limited to 'lockchain-core/src/crypto')
-rw-r--r-- | lockchain-core/src/crypto/data.rs | 5 | ||||
-rw-r--r-- | lockchain-core/src/crypto/mod.rs | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lockchain-core/src/crypto/data.rs b/lockchain-core/src/crypto/data.rs index 2ee8a9a..f1ed15c 100644 --- a/lockchain-core/src/crypto/data.rs +++ b/lockchain-core/src/crypto/data.rs @@ -1,7 +1,8 @@ -use traits::AutoEncoder; +use crate::traits::AutoEncoder; +use serde::{Serialize, Deserialize}; /// Representation of encrypted data as an enecoded format -/// +/// /// Includes all cryptographic state primitives that are /// required to send the data over a network and decrypt on /// the other side of a pipe. diff --git a/lockchain-core/src/crypto/mod.rs b/lockchain-core/src/crypto/mod.rs index 2090e69..6a1c45e 100644 --- a/lockchain-core/src/crypto/mod.rs +++ b/lockchain-core/src/crypto/mod.rs @@ -6,7 +6,7 @@ /// We re-export keybob's API here mod keys { pub use keybob::{Key, KeyType}; - use traits::{AutoEncoder, Encryptable}; + use crate::traits::{AutoEncoder, Encryptable}; impl AutoEncoder for Key {} impl AutoEncoder for KeyType {} |