Skip to content

juroberttyb/uniffi-rs-fullstack-examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. JDK 11.x, Android SDK and NDK, Android Studio is optional. For more details, please visit .github/workflows/build.yml.
  2. Install Rust toolchains for Android: make prepare-android

iOS

  1. Latest Xcode (14.3)
  2. Rust toolchains for iOS: make prepare-apple or rustup target add aarch64-apple-ios-sim --toolchain nightly && rustup target add aarch64-apple-ios x86_64-apple-ios. Check installaion:
    $ rustup target list --installed | grep ios
    aarch64-apple-ios
    aarch64-apple-ios-sim
    x86_64-apple-ios
    Please note that aarch64-apple-ios-sim requries the nightly toolchain (https://doc.rust-lang.org/nightly/rustc/platform-support/aarch64-apple-ios-sim.html).
  3. 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

About

Build Rust for Android and iOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 42.1%
  • Kotlin 34.4%
  • Makefile 22.1%
  • Rust 1.4%