Propagte sha1 subcrate features all the way to rqbit CLI

This commit is contained in:
Igor Katson 2021-09-30 00:04:31 +01:00
parent a6a785640f
commit f40a227459
4 changed files with 11 additions and 11 deletions

View file

@ -4,13 +4,13 @@
// leaving the pure-rust impl here too. Maybe someday make them
// runtime swappable or enabled with a feature.
#[cfg(feature = "default-sha1-openssl")]
#[cfg(feature = "sha1-openssl")]
pub type Sha1 = Sha1Openssl;
#[cfg(feature = "default-sha1-rust")]
#[cfg(feature = "sha1-rust")]
pub type Sha1 = Sha1Rust;
#[cfg(feature = "default-sha1-system")]
#[cfg(feature = "sha1-system")]
pub type Sha1 = Sha1System;
pub trait ISha1 {