livekit_ffi 0.13.0-dev.1
livekit_ffi: ^0.13.0-dev.1 copied to clipboard
Dart bindings for the LiveKit Rust SDK core, delivered as a prebuilt native library via Native Assets.
livekit_ffi #
0.13.0-dev.1 is a placeholder pre-release. It registers the package name ahead of the first
livekit-ffirelease that ships these bindings. Its native libraries are not published, so it does not build. Use 0.13.0 or later.
Dart bindings for the LiveKit Rust SDK core, generated from the
livekit-ffi
crate with UniFFI and
uniffi-dart.
This is a low-level package. It is consumed by
livekit_client and is not
intended to be used directly in applications.
How it works #
The bindings call into a prebuilt Rust dynamic library through Dart's
Native Assets. The package's hook/build.dart
resolves the library for your target platform at build time, downloading it
from the matching livekit-ffi release
and verifying its SHA-256 checksum. No Rust toolchain is required to consume
this package.
Requires Dart >= 3.10 (Flutter >= 3.38), where build hooks and code assets are stable. There is no web support: guard usage behind a conditional import.
Supported platforms #
macOS (arm64, x64), iOS (device and simulator), Android (arm64, armv7, x64), Linux (arm64, x64), and Windows (arm64, x64).
Development #
This package is generated; do not edit it directly. To build it from source:
cd rust-sdks/livekit-ffi
cargo make dart-package # generates packages/dart with a locally built library
See the crate README for details. Issues and pull requests go to livekit/rust-sdks.