This project requires Flutter and Rust. Rust toolchain can be installed via Rustup. In order to setup Flutter (as well as mobile simulators etc), please see the excellent Flutter guide here
A lot of complexity for building the app has been encapsulated in a Makefile.
To install necessary project dependencies for all targets, run the following:
make deps
This project uses flutter-rust-bridge. It is strongly encouraged to read its documentation before jumping into the project in order to understand the project's structure, conventions and ways of integrating between Rust and Flutter.
The instructions below allow building the Rust backend for 10101 application.
Bindings for Flutter can be generated with the following command:
make gen
make native
make ios
For building for target devices, run:
make android
make android-sim
After compiling the relevant Rust backend in the previous section, invoke Flutter:
flutter run
note: Flutter might ask you which target you'd like to run.
Running 10101 for web
target is currently unsupported.