2 releases
Uses new Rust 2024
new 0.3.3 | Sep 14, 2025 |
---|---|
0.3.2 | Sep 6, 2025 |
#1746 in Network programming
105 downloads per month
700KB
17K
SLoC
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