shekohex / flutterust

Flutter + Rust = :heart:
Apache License 2.0
699 stars 56 forks source link

Make flutterust automatically generate high-level memory-safe binding between Dart and Rust via flutter_rust_bridge #33

Open fzyzcjy opened 2 years ago

fzyzcjy commented 2 years ago

Hi, thanks for the starter template! With flutter_rust_bridge, this template can generate high-level memory-safe bindings automatically. Thus, maybe this can be integrated into this template?

cryptopapi997 commented 1 year ago

I think the problem there is that this template allows for actual async parralel execution with tokio in rust, which flutter_rust_bridge does not (at least according to its documentation and my attempts, would be very happy if you can correct me :) )

fzyzcjy commented 1 year ago

Aha yes, but you are welcomed to make a PR to make it really work!