Giter Site home page Giter Site logo

xieren58 / uniffi-rs-fullstack-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imwildcat/uniffi-rs-fullstack-examples

0.0 0.0 0.0 90 KB

Build Rust for Android and iOS

License: MIT License

Rust 1.14% Kotlin 34.49% Swift 42.10% Makefile 22.27%

uniffi-rs-fullstack-examples's Introduction

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 (13.x)
  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

uniffi-rs-fullstack-examples's People

Contributors

imwildcat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.