0.22.3 • Published 1 year ago

identity-uniffi-poc v0.22.3

Weekly downloads
-
License
MPL-2.0
Repository
-
Last release
1 year ago

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 ktlint
brew install yapf

Foreign language bindings & tests

Python

Generate the bindings

cargo run --bin uniffi-bindgen generate src/identity.udl -o samples/python --language python

Copy the binary

cp target/debug/libidentity_uniffi_poc.dylib samples/python/libidentity_uniffi_poc.dylib

Run 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 kotlin

Copy the binary

Run the tests

cd cd samples/kotlin
gradle test
0.22.3

1 year ago

0.22.2

1 year ago

0.22.1

1 year ago

0.22.0

1 year ago