Expand description
Mainline
Simple, robust, BitTorrent’s Mainline DHT implementation.
This library is focused on being the best and simplest Rust client for Mainline, especially focused on reliable and fast time-to-first-response.
It should work as a routing / storing node as well, but if you want to run a reliable node to support the network, you might be better off running libtorrent for now.
Get started
Check the Examples.
Features
Client
Supported BEPs:
- BEP0005 DHT Protocol
- BEP0042 DHT Security extension
- BEP0043 Read-only DHT Nodes
- BEP0044 Storing arbitrary data in the DHT
Server
Supported BEPs:
- BEP0005 DHT Protocol
- BEP0042 DHT Security extension
- BEP0043 Read-only DHT Nodes
- BEP0044 Storing arbitrary data in the DHT
Mainline
Rust implementation of read-only BitTorrent Mainline DHT client.
Re-exports
pub use crate::common::Id;
pub use dht::Dht;
pub use dht::Testnet;
pub use ed25519_dalek;
Modules
- Dht node with async api.
- Miscellaneous common structs used throughout the library.
- Dht node.
Enums
- Mainline crate error enum.