Made features usable.
This commit is contained in:
parent
ac8b977419
commit
44f75d419b
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue