Fix root crate compilation dependencies to force sha1*
This commit is contained in:
parent
9eed5aeb07
commit
0214817122
7 changed files with 47 additions and 3 deletions
|
|
@ -11,6 +11,11 @@ pub trait ISha1 {
|
|||
fn finish(self) -> [u8; 20];
|
||||
}
|
||||
|
||||
assert_cfg::exactly_one! {
|
||||
feature = "sha1-crypto-hash",
|
||||
feature = "sha1-ring",
|
||||
}
|
||||
|
||||
#[cfg(feature = "sha1-crypto-hash")]
|
||||
mod crypto_hash_impl {
|
||||
use super::ISha1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue