identity-uniffi-poc
v0.22.3
Published
Run `cargo build` to generate the initial Rust implementation.
Readme
Build
Run cargo build to generate the initial Rust implementation.
Install Dependencies
The following dependencies are only required for linting once the foreign language bindings are generated. Without it the linting will fail, but the bindings will still be correctly generated.
brew install ktlintbrew install yapfForeign language bindings & tests
Python
Generate the bindings
cargo run --bin uniffi-bindgen generate src/identity.udl -o samples/python --language pythonCopy the binary
cp target/debug/libidentity_uniffi_poc.dylib samples/python/libidentity_uniffi_poc.dylibRun the tests
python3 samples/python/test.py`Kotlin
Generate the bindings
cargo run --bin uniffi-bindgen generate src/identity.udl -o samples/kotlin/app/src/main/kotlin --language kotlinCopy the binary
Run the tests
cd cd samples/kotlin
gradle test