Crate mainline

source ·
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:

Server

Supported BEPs:

Mainline

Rust implementation of read-only BitTorrent Mainline DHT client.

Re-exports

  • pub use crate::common::Id;
  • pub use crate::error::Error;
  • pub use dht::Dht;
  • pub use dht::Testnet;

Modules

  • Dht node with async api.
  • Miscellaneous common structs used throughout the library.
  • Dht node.
  • Main Crate Error

Type Aliases