From e0f33a1fa96d34ca111c4c31198eb5ade04a66e8 Mon Sep 17 00:00:00 2001 From: kodjomoustapha <107993382+kodjodevf@users.noreply.github.com> Date: Wed, 29 May 2024 18:07:25 +0100 Subject: [PATCH] Update README --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/README.md b/README.md index ca7b5eb..db3a9ce 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,38 @@ Contributions are welcome! To get started with extension development, see [CONTRIBUTING-DART.md](https://github.com/kodjodevf/mangayomi-extensions/blob/main/CONTRIBUTING-DART.md) for create sources in Dart or [CONTRIBUTING-JS.md](https://github.com/kodjodevf/mangayomi-extensions/blob/main/CONTRIBUTING-JS.md) for create sources in JavaScript. +## Using flutter_rust_bridge + +To run and build this app, you need to have +[Flutter SDK](https://docs.flutter.dev/get-started/install) +and [Rust toolchain](https://www.rust-lang.org/tools/install) +installed on your system. +You can check that your system is ready with the commands below. +Note that all the Flutter subcomponents should be installed. + +```bash +rustc --version +flutter doctor +``` + +You also need to have the CLI tool for Rinf ready. + +```bash +cargo install 'flutter_rust_bridge_codegen@^2.0.0-dev.0' +``` + +run the following command: + +```bash +flutter_rust_bridge_codegen generate +``` + +Now you can run and build this app just like any other Flutter projects. + +```bash +flutter run +``` + ## License