Fix root crate compilation dependencies to force sha1*

This commit is contained in:
Igor Katson 2024-08-28 13:32:42 +01:00
parent 9eed5aeb07
commit 0214817122
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
7 changed files with 47 additions and 3 deletions

View file

@ -9,3 +9,8 @@ pub mod speed_estimator;
pub mod torrent_metainfo;
pub use hash_id::Id20;
assert_cfg::exactly_one! {
feature = "sha1-crypto-hash",
feature = "sha1-ring",
}