/libtorrent-sys

Rust API / cxx bindings for libtorrent

Primary LanguageC++MIT LicenseMIT

libtorrent-sys

Rust API / cxx bindings for libtorrent.

All c++ reference can be found in libtorrent reference documentation

Exposed API Reference

  • session
  • add_torrent_params
  • add_torrent_params
  • torrent_handle
  • create_torrent
  • parse_magnet_uri()
  • bencode()

Install

1/ Download or build libtorrent (branch C_2_0)

2/ Build libtorrent-sys:

RUSTFLAGS="-C linker=g++" CXX=g++ cargo build