cunarist / rinf

Rust for native business logic, Flutter for flexible and beautiful GUI
MIT License
1.99k stars 72 forks source link

`path` and `ffi` Dart packages are not really needed. #139

Closed temeddix closed 1 year ago

temeddix commented 1 year ago

Report

They can be easily removed.

System Information

Please provide the output from the command below, using markdown codeblock syntax.

// Not really relevant
temeddix commented 1 year ago

flutter_rust_bridge_codegen invoked when running python automate bridge-gen requires ffi, but it's not really a dependency. It looks like a problem with flutter_rust_bridge_codegen. They somehow used package:ffi before, but even if now they use dart:ffi, they didn't change the requirements.

We'll need to update the Python code as well to 'temporarily' add ffi during bridge generation.