Skip to content

Rust UniFFI library shared with multiple client platforms (MacOS, iOS, Android, web) plus web server

License

Notifications You must be signed in to change notification settings

danwilliams/boilerplate-multiplatform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boilerplate multi-platform application template

This repository is a simple multi-platform template, containing:

  • Rust library and webserver, using Terracotta.
  • MacOS application
  • iOS application
  • Android application

The Rust library is exported using UniFFI, and the FFI bindings are made available to the following clients:

  • MacOS
  • iOS
  • Android
  • Web

This results in a clean starting-point and reference for setting up similar projects. Using the providing build scripts it is easy to update the Rust library for the mobile clients:

  • cargo build and other Cargo commands to do standard Rust-specific things
  • ./rust/build.sh to build the Rust library for all platforms
  • ./update_clients.sh to update the clients with the new Rust library
  • ./update_deps.sh to occasionally update Android dependencies

These operations should form a good basis for expansion.

About

Rust UniFFI library shared with multiple client platforms (MacOS, iOS, Android, web) plus web server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published