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 |
---|---|
Project consist of sub-project:
- Android applicaition
- IOS application
- Rust core module
- Rust Android bridge
- Rust IOS bridge
Architecture |
---|
module wtih shared logic between IOS& Android.
More details: Readme
Android specific module, that depends on [swapi_core] for networking and provide custom build for JNI communicaiton.
More details: Readme
IOS specific module, that depends on [swapi_code] for networking and provide custom build for FFI communicaiton.
More details: Readme
To setup enviroment follow instuctions in :
- swapi_adr/Readme.
- swapi_ios/Readme.
- swapi_core/Readme.
Each project contain scripts
folder to automate build.
- ./swapi_ios/scripts/build_release
- ./swapi_adr/scripts/build_release
- ./swapi_adr/scripts/create_s_link - create symb link between generated files .so and Android project
jniLibs
- ./build_release (execute all 3 commands listed on top)
- ./clean - clean all 3 Rust project
Based on my experience
- InteliJ IDE CE
- Rust Plugin
- VSCode
- Rust plugin