Update README.md

This commit is contained in:
Flux 2025-01-11 12:41:32 +02:00 committed by GitHub
parent e944d5478c
commit 71fecb8fc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +1,8 @@
This script compiles a Rust library for both Android and iOS and copies the generated libraries to the appropriate Flutter project directories. This script compiles a Rust library for both Android and iOS and copies the generated libraries to the appropriate Flutter project directories.
#### Features: #### Features:
- Compiles Rust for Android using `cargo-ndk` for `arm64-v8a`, `armeabi-v7a`, `x86_64`, and `x86` architectures. - Installs missing cross compilation targets
- Compiles Rust for Android.
- Conditionally compiles Rust for iOS if running on macOS. - Conditionally compiles Rust for iOS if running on macOS.
- Automatically cleans the build directory before compiling. - Automatically cleans the build directory before compiling.
- Copies `.so` (Android) and `.a` (iOS) files to the Flutter project. - Copies `.so` (Android) and `.a` (iOS) files to the Flutter project.