More granular feature handling
This commit is contained in:
parent
9a6039f5ee
commit
7e40c71852
5 changed files with 7 additions and 16 deletions
|
|
@ -1,16 +1,13 @@
|
|||
pub mod constants;
|
||||
pub mod directories;
|
||||
pub mod hash_id;
|
||||
|
||||
pub mod lengths;
|
||||
pub mod magnet;
|
||||
pub mod peer_id;
|
||||
pub mod spawn_utils;
|
||||
pub mod speed_estimator;
|
||||
#[cfg(any(feature = "sha1-crypto-hash", feature = "sha1-ring"))]
|
||||
pub mod torrent_metainfo;
|
||||
|
||||
pub use hash_id::Id20;
|
||||
|
||||
assert_cfg::exactly_one! {
|
||||
feature = "sha1-crypto-hash",
|
||||
feature = "sha1-ring",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue