2 releases

0.1.1 Jun 13, 2022
0.1.0 Mar 3, 2022

#5 in #magnet

MIT license

4KB

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>

Dependencies

~0.6–2MB
~31K SLoC