Git Product home page Git Product logo

rust-cross-platform-mobile's Introduction

swapi-rust-mobile

Crossplatform mobile solution based on Rust for IOS & Android.

More details here:"Rust & cross-platform mobile development"

In this project you'll find Rust network client, that laods and serialize data from star wars API and pass it to Android and IOS.

Android IOS

Architecture

Project consist of sub-project:

  • Android applicaition
  • IOS application
  • Rust core module
  • Rust Android bridge
  • Rust IOS bridge
Architecture

swapi_core

module wtih shared logic between IOS& Android.

More details: Readme

swapi_adr

Android specific module, that depends on [swapi_core] for networking and provide custom build for JNI communicaiton.

More details: Readme

swapi_ios

IOS specific module, that depends on [swapi_code] for networking and provide custom build for FFI communicaiton.

More details: Readme

Build & Run

Enviroment project

To setup enviroment follow instuctions in :

  • swapi_adr/Readme.
  • swapi_ios/Readme.
  • swapi_core/Readme.

Official guides

Build:

Each project contain scripts folder to automate build.

IOS:

  • ./swapi_ios/scripts/build_release

Andorid:

  • ./swapi_adr/scripts/build_release
  • ./swapi_adr/scripts/create_s_link - create symb link between generated files .so and Android project jniLibs

Build:

  • ./build_release (execute all 3 commands listed on top)
  • ./clean - clean all 3 Rust project

IDE

Based on my experience

Rust has very good support with:

Alternatvie:

rust-cross-platform-mobile's People

Contributors

igorsteblii avatar xajik 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.