Rust API / cxx bindings for libtorrent.
All c++ reference can be found in libtorrent reference documentation
- session
- add_torrent_params
- add_torrent_params
- torrent_handle
- create_torrent
- parse_magnet_uri()
- bencode()
1/ Download or build libtorrent (branch C_2_0)
2/ Build libtorrent-sys:
RUSTFLAGS="-C linker=g++" CXX=g++ cargo build