Made features usable.

This commit is contained in:
Hannes 2021-05-14 13:02:50 +02:00
parent ac8b977419
commit 44f75d419b
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ use hmac::{Hmac, Mac, NewMac};
#[cfg(feature = "ring")]
use ring_compat::digest::Sha512;
#[cfg(feature = "default")]
#[cfg(not(feature = "ring"))]
use sha2::Sha512;
use core::convert::TryInto;

View file

@ -4,7 +4,7 @@ use hkdf::Hkdf;
#[cfg(feature = "ring")]
use ring_compat::digest::Sha512;
#[cfg(feature = "default")]
#[cfg(not(feature = "ring"))]
use sha2::Sha512;
use core::convert::TryInto;