peat-ffi 0.2.10

FFI bindings for Peat protocol (Kotlin/Swift via UniFFI)
docs.rs failed to build peat-ffi-0.2.10
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: peat-ffi-0.2.9

Peat FFI - Foreign Function Interface for Kotlin/Swift

This crate provides UniFFI bindings to expose Peat functionality to Kotlin (Android) and Swift (iOS) consumer applications.

Features

  • CoT Encoding: Convert track data to Cursor-on-Target XML
  • Sync (optional): P2P document sync via AutomergeIroh backend

Uses proc-macro only UniFFI approach (no UDL file).

Android JNI Support

This crate also provides direct JNI bindings that bypass JNA's symbol lookup issues on Android. The JNI functions are exported with standard naming (Java_package_Class_method) and can be called directly via Android's NDK.