Crates.io | holochain-conductor-runtime-types-ffi |
lib.rs | holochain-conductor-runtime-types-ffi |
version | 0.2.0 |
source | src |
created_at | 2025-05-12 19:41:23.471315+00 |
updated_at | 2025-05-31 22:01:53.136514+00 |
description | Types used in holochain-conductor-runtime-ffi, used by both client and service. |
homepage | |
repository | |
max_upload_size | |
id | 1671038 |
size | 16,265 |
This crate contains wrappers around types used in requests & responses of holochain-conductor-runtime-ffi
, which are compatible with uniffi.
It generates FFI bindings for Kotlin.
This repo includes a script to build the crate as a library for android targets, generate kotlin bindings, and copy both the library and bindings into the kotlin library org.holochain.androidserviceruntime.client
.
Supported android targets are aarch64-linux-android
, x86_64-linux-android
, and i686-linux-android
.
To build for all supported android targets, run:
./build.sh
To build for a single android target, run:
./build-single-target.sh <TARGET-ARCH>
where <TARGET_ARCH>
is the rust target triple, i.e. aarch64-linux-android
.