From ead73a26a71931b912d9b7c7e3fd7b16ab9cb69f Mon Sep 17 00:00:00 2001 From: Chloe Martin Date: Wed, 13 Aug 2025 10:59:50 +0200 Subject: [PATCH 1/2] feat(ffi): Refactor ffi README file --- crates/iota-sdk-ffi/README.md | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/crates/iota-sdk-ffi/README.md b/crates/iota-sdk-ffi/README.md index acd716cca..d4bfe5d73 100644 --- a/crates/iota-sdk-ffi/README.md +++ b/crates/iota-sdk-ffi/README.md @@ -2,20 +2,8 @@ This crate can generate bindings for various languages (Go, Kotlin, Python, etc.) using [UniFFI](https://github.com/mozilla/uniffi-rs). -Start by building the library to generate the appropriate dylib files. +## Supported languages -```sh -cargo build -p iota-sdk-ffi --lib --release -``` - -Next, run the binary to generate the bindings for the desired language. - -```sh -cargo run --bin iota_sdk_bindings -- generate --library "target/release/libiota_sdk_ffi.dylib" --language python --out-dir bindings/python/lib --no-format -``` - -Finally, copy the dylib file to the output directory. - -```sh -cp target/release/libiota_sdk_ffi.dylib bindings/python/lib/ -``` +- [Go](../../bindings/go) +- [Kotlin](../../bindings/kotlin) +- [Python](../../bindings/python) From ced0c113824a546a779d5a68014290b27757ca74 Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Wed, 13 Aug 2025 14:57:42 +0200 Subject: [PATCH 2/2] Update crates/iota-sdk-ffi/README.md --- crates/iota-sdk-ffi/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/iota-sdk-ffi/README.md b/crates/iota-sdk-ffi/README.md index d4bfe5d73..c3b0e1a13 100644 --- a/crates/iota-sdk-ffi/README.md +++ b/crates/iota-sdk-ffi/README.md @@ -1,6 +1,6 @@ # IOTA SDK FFI -This crate can generate bindings for various languages (Go, Kotlin, Python, etc.) using [UniFFI](https://github.com/mozilla/uniffi-rs). +This crate can generate bindings for various languages using [UniFFI](https://github.com/mozilla/uniffi-rs). ## Supported languages