rag_engine_flutter 0.19.3 copy "rag_engine_flutter: ^0.19.3" to clipboard
rag_engine_flutter: ^0.19.3 copied to clipboard

Native Rust FFI plugin for mobile_rag_engine. Provides high-performance tokenization and HNSW vector indexing for on-device RAG.

rag_engine_flutter #

Native Rust FFI plugin for mobile_rag_engine.

Overview #

This package provides the native Rust components for the mobile_rag_engine package:

  • High-performance tokenization using HuggingFace tokenizers
  • HNSW vector indexing for O(log n) similarity search
  • SQLite integration for persistent vector storage
  • Semantic text chunking with Unicode boundary detection

Installation #

This package is automatically included as a dependency of mobile_rag_engine. You don't need to add it directly.

dependencies:
  mobile_rag_engine:

Requirements #

Published versions do not include pre-compiled binaries yet. Cargokit builds the Rust crate from source during flutter build, so you need:

  • Rust toolchain (stable, installed with rustup; Cargokit adds the required targets)
  • Platform-specific build tools (Xcode for iOS/macOS, Android SDK for Android; Cargokit installs a missing NDK with the SDK's cmdline-tools)

Supported Platforms #

Platform Architecture Status
iOS arm64 ✅
iOS Simulator arm64, x86_64 ✅
macOS arm64, x86_64 ✅
Android arm64-v8a, armeabi-v7a, x86 ✅
Linux x86_64 ❌ Not supported yet
Windows x86_64 ❌ Not supported yet

The published package is intended for iOS, Android, and macOS consumers today. Linux and Windows source configs exist in the repository but are excluded from the published archive.

License #

MIT

0
likes
150
points
529
downloads

Documentation

API reference

Publisher

verified publisherglasses-dev.win

Weekly Downloads

Native Rust FFI plugin for mobile_rag_engine. Provides high-performance tokenization and HNSW vector indexing for on-device RAG.

Repository (GitHub)
View/report issues

Topics

#ffi #rust #native #vector-database

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on rag_engine_flutter

Packages that implement rag_engine_flutter