rqbit/crates/librqbit_core/src/lib.rs

19 lines
360 B
Rust
Raw Normal View History

2021-07-03 19:10:59 +01:00
pub mod constants;
2023-12-02 21:12:15 +00:00
pub mod directories;
2023-12-24 16:53:02 -06:00
pub mod hash_id;
2024-08-30 12:07:00 +01:00
2021-07-03 19:10:59 +01:00
pub mod lengths;
pub mod magnet;
pub mod peer_id;
2023-11-25 15:15:16 +00:00
pub mod spawn_utils;
2021-07-03 19:10:59 +01:00
pub mod speed_estimator;
2024-08-30 12:07:00 +01:00
#[cfg(any(feature = "sha1-crypto-hash", feature = "sha1-ring"))]
2021-07-03 19:10:59 +01:00
pub mod torrent_metainfo;
2024-02-17 10:51:09 +00:00
pub use hash_id::Id20;
2024-08-30 16:45:19 +01:00
assert_cfg::exactly_one! {
feature = "sha1-crypto-hash",
feature = "sha1-ring",
}