7cd4c3bd14 | ||
---|---|---|
.github/workflows | ||
.vscode | ||
hello | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md |
README.md
Fullstack Examples of UniFFI-rs
Full documentation of the UniFFI crates can be found here.
Working in progress
Prerequisites
Rust
Please read https://www.rust-lang.org/tools/install.
Android
- JDK 11.x, Android SDK and NDK, Android Studio is optional. For more details, please visit .github/workflows/build.yml.
- Install Rust toolchains for Android:
make prepare-android
iOS
- Latest Xcode (13.x)
- Rust toolchains for iOS:
make prepare-apple
orrustup target add aarch64-apple-ios-sim --toolchain nightly && rustup target add aarch64-apple-ios x86_64-apple-ios
. Check installaion:
Please note that$ rustup target list --installed | grep ios aarch64-apple-ios aarch64-apple-ios-sim x86_64-apple-ios
aarch64-apple-ios-sim
requries the nightly toolchain (https://doc.rust-lang.org/nightly/rustc/platform-support/aarch64-apple-ios-sim.html). - Install
uniffi-bindgen
:cargo install uniffi_bindgen
, details: https://mozilla.github.io/uniffi-rs/tutorial/Prerequisites.html
Get Started
Hello
Please read hello/README.md.
License
MIT