/libtorrent-rs

A Rust implementation of the BitTorrent V2 protocol

Primary LanguageRustMIT LicenseMIT

libtorrent-rs

A Rust implementation of the BitTorrent V2 protocol. For now only V1 is implemented but we're working on V2.

Dependencies

  • Rust
  • Cargo

Running

To run the program there needs to be a config.cfg file in the root of the project. We provide one with default values as an example. Then run the program with cargo followed by the directory containing the .torrent files:

$ cargo run --bin dtorrent ./torrents/file_name

Testing

Run the test suite:

make test

BitTorrent Specification