Foundation-Devices / tor

Tor plugin for Flutter
https://pub.dev/packages/tor
MIT License
19 stars 11 forks source link

CLI applications may also require Tor #40

Open nns52k opened 6 months ago

nns52k commented 6 months ago

Is it possible to remove flutter from dependency list of this package tor? If "yes", CLI programs could use package tor too.

sneurlax commented 1 month ago

Flutter is required by irondash/cargokit, which integrates cargo builds into flutter builds. Dart 3.6's Native Assets feature allows the Flutter-based irondash/cargokit to be replaced with the newer Dart-based irondash/native_toolchain_rust. We can re-architect to wrap the same underlying Rust crate with a new Dart-only build system and thus remove Flutter as a dependency once Dart 3.6 is released with Native Assets.

This is what my package https://pub.dev/packages/arti does. Sorry to advertise here, icota and Foundation-Devices, but once Dart releases Native Assets in a stable version then we can replace cargokit with native_toolchain_rust for this package and migrate from a Flutter package to a Dart one using the aforementioned link as a guide/example.