Skip to content

Commit

Permalink
Adjusting imported libs for serialization (#173)
Browse files Browse the repository at this point in the history
Co-authored-by: Sean Lawlor <[email protected]>
  • Loading branch information
slawlor and slawlor authored Mar 15, 2022
1 parent 3c5b89f commit 9bae6bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions akd/src/serialization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
//! This module contains serialization calls for helping serialize/deserialize digests
use crate::errors::{AkdError, HistoryTreeNodeError};

#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};
#[cfg(feature = "serde")]
use winter_crypto::Digest;
use winter_crypto::Hasher;

use winter_crypto::{Digest, Hasher};
use winter_utils::{Deserializable, SliceReader};

/// Converts from &[u8] to H::Digest
Expand Down

0 comments on commit 9bae6bf

Please sign in to comment.