cunarist / rinf

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

Use new `LazyLock` to store message channels #423

Closed temeddix closed 2 months ago

temeddix commented 2 months ago

Changes

This PR makes message channels more efficient by using new LazyLock introduced in Rust 1.80

Before Committing

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

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