2 releases

Uses new Rust 2024

new 0.3.3 Sep 14, 2025
0.3.2 Sep 6, 2025

#1746 in Network programming

Download history 105/week @ 2025-09-03

105 downloads per month

Apache-2.0

700KB
17K SLoC

CI Crates.io Version

mtorrent

Lightweight CLI Bittorrent client in Rust. Blazingly fast, incredibly robust and very impressive in general.

Installation

Download the latest pre-compiled binary for Linux or Windows here: https://github.com/DanglingPointer/mtorrent/releases/latest

Alternatively, compile locally using the following commands:

  • Linux: RUSTFLAGS="--cfg=tokio_unstable" cargo install mtorrent
  • Windows: $env:RUSTFLAGS="--cfg=tokio_unstable"; cargo install mtorrent

Features

  • Peer Wire Protocol over IPv4 and IPv6
  • HTTP and UDP trackers over IPv4 and IPv6
  • Peer Exchange extension
  • Magnet links and metadata exchange
  • DHT

Usage

$ mtorrent --help
Fast and lightweight CLI BitTorrent client in Rust

Usage: mtorrent [OPTIONS] <METAINFO_URI>

Arguments:
  <METAINFO_URI>  Magnet link or path to a .torrent file

Options:
  -o, --output <PATH>  Output folder
      --no-upnp        Disable UPnP
      --no-dht         Disable DHT
  -h, --help           Print help
  -V, --version        Print version

Dependencies

~13–26MB
~373K SLoC