This project is used to create language bindings for the Rust rgb-lib library in Kotlin (in rgb-lib-kotlin), Python (in rgb-lib-python) and Swift (in rgb-lib-swift).
APIs are wrapped and exposed in a uniform way using the mozilla/uniffi-rs bindings generator.
Use the rgb-lib-uniffi-bindgen
tool to generate language binding code for the
supported languages.
To run rgb-lib-uniffi-bindgen
and see the available options use the command:
cargo run -p rgb-lib-uniffi-bindgen -- --help
This project is highly inspired by bdk-ffi and made possible by the amazing work by the mozilla/uniffi-rs team.