libtorrent-sys 1.0.0

cxx bindings to libtorrent
Documentation
  • Coverage
  • 64.29%
    9 out of 14 items documented0 out of 12 items with examples
  • Size
  • Source code size: 12.1 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 416.31 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • shawone/libtorrent-sys
    17 5 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • shawone

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