libtorrent_dart 1.0.1
libtorrent_dart: ^1.0.1 copied to clipboard
Cross-platform Dart FFI bindings for libtorrent sessions, magnet downloads, torrent controls, progress, and settings.
libtorrent_dart #
Dart bindings for libtorrent-rasterbar.
This package exposes two entry points:
- High-level wrapper API:
package:libtorrent_dart/libtorrent_dart.dart - Low-level FFI API:
package:libtorrent_dart/libtorrent_dart_ffi.dart
Installation #
dart pub add libtorrent_dart
The build hook downloads the required native binary for the current package version, platform, and architecture. Native assets are bundled into the consuming application by Dart's build system.
Usage #
Check out the example for a quick start.
Libtorrent API parity #
Libtorrent API parity is tracked in:
Platforms #
- Linux: ARM64 and x64.
- macOS: Apple silicon and Intel.
- Windows: ARM64 and x64.
- Android: ARMv7, ARM64, and x64.
- iOS: ARM64 (build/link validated; runtime untested).
Build #
Build instructions for all supported platforms (macOS, Linux, Windows, Android, iOS) are in: