mtorrent-core 0.4.1

Fundamentals for building asynchronous BitTorrent clients
Documentation

CI Crates.io Version docs.rs codecov

mtorrent-core

Basic types for building asynchronous Tokio-based BitTorrent clients. Some of the features:

  • peer wire protocol over TCP and uTP, including extended messages
  • opt-in protocol encryption (aka message stream encryption)
  • tracker protocol over HTTP and UDP
  • parsing of metainfo files and magnet links
  • strategies for downloading and seeding pieces
  • storage and filesystem operations for torrents
  • management of the states of connected peers

Used as part of the mtorrent client. Example usage can be found here.