diff options
Diffstat (limited to 'src/metadata')
-rw-r--r-- | src/metadata/drop.rs | 6 | ||||
-rw-r--r-- | src/metadata/identity.rs | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/metadata/drop.rs b/src/metadata/drop.rs index ae9aefd..601a157 100644 --- a/src/metadata/drop.rs +++ b/src/metadata/drop.rs @@ -13,11 +13,9 @@ use std::{ ops::Deref, }; +use digest::Digest; use log::warn; -use sha2::{ - Digest, - Sha512, -}; +use sha2::Sha512; use signature::Verifier; use super::{ diff --git a/src/metadata/identity.rs b/src/metadata/identity.rs index 8ded144..0b45731 100644 --- a/src/metadata/identity.rs +++ b/src/metadata/identity.rs @@ -20,10 +20,10 @@ use anyhow::{ anyhow, ensure, }; +use digest::Digest; use hex::FromHex; use log::warn; use sha2::{ - Digest, Sha256, Sha512, }; |