foundation-Devices/tor is a multi-platform Flutter plugin for managing a Tor proxy. Based on arti.
Use rustup, not homebrew.
cargo install cargo-ndkCargokit handles building, just flutter run it or run it in Android Studio or VS Code (untested).
To update Cargokit in the future, use:
git subtree pull --prefix cargokit https://github.com/irondash/cargokit.git main --squashGenerate Dart bindings from Rust FRB APIs:
just generate
or
flutter_rust_bridge_codegen generate \
--rust-input crate::api \
--rust-root rust/ \
--rust-output rust/src/generated/frb_generated.rs \
--dart-output lib/rust_api/generated \
--no-webflutter run in example to run the example app
See example/lib/main.dart for usage.