libtorrent 0.1.1

Rust API for libtorrent
Documentation

libtorrent-rs

Examples to use libtorrent-sys (cxx bindings)

Examples

  1. version

Print libtorrent version to the standard output.

RUSTFLAGS="-C linker=g++" CXX=g++ cargo run --example version

  1. magnet2torrent

Conversion magnet link => .torrent file.

RUSTFLAGS="-C linker=g++" CXX=g++ cargo run --example magnet2torrent <magnet>