Skip to content

Latest commit

 

History

History

uniffi

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Uniffi bindings for RGB Lib

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.

Language bindings generation

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

Thanks

This project is highly inspired by bdk-ffi and made possible by the amazing work by the mozilla/uniffi-rs team.