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

Modules

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

Enums

  • Mainline crate error enum.

Type Aliases