dht-crawler 0.1.2

高性能的 Rust DHT (Distributed Hash Table) 爬虫库 | A high-performance Rust DHT crawler library for fetching torrent information from the BitTorrent DHT network
Documentation
mod error;
pub mod metadata;
pub mod protocol;
pub mod scheduler;
mod server;
mod sharded;
pub mod types;

pub use error::{DHTError, Result};
pub use scheduler::MetadataScheduler;
pub use server::{DHTServer, HashDiscovered};
pub use sharded::{NodeTuple, ShardedNodeQueue};
pub use types::{DHTOptions, FileInfo, NetMode, TorrentInfo};

pub mod prelude {
    pub use crate::error::{DHTError, Result};
    pub use crate::scheduler::MetadataScheduler;
    pub use crate::server::DHTServer;
    pub use crate::types::{DHTOptions, FileInfo, NetMode, TorrentInfo};
}

#[cfg(feature = "jni")]
#[path = "../jni/mod.rs"]
pub mod jni_bindings;