cunarist / rinf

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

Manage memory in the language itself #325

Closed temeddix closed 3 months ago

temeddix commented 3 months ago

Changes

Before, Rust was in charge of freeing the memory allocated from Dart. However, for extra-clear memory safety, freeing the memory from Dart can be better.

Before Committing

Please make sure that you've analyzed and formatted the files.

dart analyze flutter_ffi_plugin --fatal-infos
dart format .
cargo fmt
cargo clippy --fix --allow-dirty