Skip to main content

libtorrent_dart 1.2.0 copy "libtorrent_dart: ^1.2.0" to clipboard
libtorrent_dart: ^1.2.0 copied to clipboard

Cross-platform Dart FFI bindings for libtorrent sessions, magnet downloads, torrent controls, progress, and settings.

1.2.0 #

  • Add TorrentHandle.getPieces() to read hash-verified piece availability in one native call.
  • Expose torrent_get_pieces with owned snapshot data and buffer validation.
  • Rebuild native assets for all supported platforms with the bulk piece API.

1.1.2 #

  • Move the native-download helper outside hook/ so pub.dev accepts the package.
  • Include the native-download fixes and session shutdown test cleanup from 1.1.1, whose pub.dev publication was rejected.

1.1.1 #

  • Download native assets directly from GitHub release URLs instead of the unauthenticated release API.
  • Log HTTP failures and redirects; report missing redirect locations, unsupported responses, redirect limits, and empty downloads.
  • Close sessions before their abort proxies in unit and integration tests so native threads finish before process exit.
  • Serialize native test suites because bridge registries are shared across isolates, and expand CI test output.
  • Refresh documentation and API parity counts for the 1.1.0 binding surface.

1.1.0 #

  • Preserve complete native alert batches across all alert pop variants and DHT convenience reads.
  • Expose optional owned read_piece_alert bytes, piece index/error and correct torrent identity.
  • Add torrent piece length, count and actual piece-size accessors.
  • Apply generic settings supplied to session creation; expose DHT/LSD/UPnP/NAT-PMP setting identifiers.
  • Add the streaming read/layout regression contract in unit and integration suites.

1.0.1 #

  • Add Android ARMv7 (armeabi-v7a) native binary support.
  • Fix native CI Dart SDK setup on composite-action callers.

1.0.0 #

  • Mark the cross-platform native-assets API as stable.
  • Document installation through dart pub add libtorrent_dart.

0.4.5 #

  • Include the complete Dart implementation in the published package archive.
  • Restore pub.dev analysis, documentation, and native platform detection.
  • Document the supported high-level API and hide raw C bindings from dartdoc.
  • Update native-asset hooks to code_assets 2.0 and hooks 2.2.
  • Require Dart 3.10 or newer and verify dependency lower bounds.

0.4.4 #

  • Package the Dart wrapper and libtorrent object files together in the iOS static archive instead of publishing the thin wrapper archive by itself.
  • Link the iOS archive into the Flutter example during CI before publishing it.

0.4.3 #

  • Fix pub.dev validation by excluding tracked libtorrent submodule sources from the repository's broad CMake ignore rules.
  • Publish through a warning-aware OIDC job without installing Flutter for this pure Dart package.

0.4.2 #

  • Replace the generated Flutter counter app with a working magnet download example using the public libtorrent_dart API.
  • Clean up progress callbacks before removing torrents and closing sessions in the command-line and Flutter examples.
  • Fix the Flutter example package metadata and analyzer dependencies.
  • Declare Android network access and document how to run the example.

0.4.1 #

  • Add prebuilt native assets for ARM64 and x64 Linux, macOS, Windows, and Android targets.
  • Add an ARM64 iOS static library.
  • Download the native asset matching the package version and target architecture from GitHub Releases during the Dart build hook.
  • Prepare the package for distribution through pub.dev.
0
likes
160
points
746
downloads

Documentation

API reference

Publisher

verified publisherphidel.dev

Weekly Downloads

Cross-platform Dart FFI bindings for libtorrent sessions, magnet downloads, torrent controls, progress, and settings.

Repository (GitHub)
View/report issues

Topics

#bittorrent #ffi #native-assets #torrent

License

BSD-3-Clause (license)

Dependencies

code_assets, ffi, hooks, yaml

More

Packages that depend on libtorrent_dart