An open API service indexing awesome lists of open source software.

https://github.com/siketyan/iosrs

An example iOS App with Swift using Rust as a static library.
https://github.com/siketyan/iosrs

example ffi ios-app rust-library swiftui

Last synced: 10 months ago
JSON representation

An example iOS App with Swift using Rust as a static library.

Awesome Lists containing this project

README

          

# 🦀 iosrs
An example iOS App with Swift using Rust as a static library.

## 🚚 Prerequisites
- Rust Toolchain v1.53.0+
- cargo-lipo
- Xcode v12.5.1+

## 📦 Usage
1. In `lib` directory, build the static library using cargo-lipo.
```
$ cargo lipo --release
```

2. Open `app` directory with Xcode, then build the project.
3. Try on your an iOS device or an emulator!

## 🔗 References
- Building and Deploying a Rust library on iOS
https://mozilla.github.io/firefox-browser-architecture/experiments/2017-09-06-rust-on-ios.html