thlorenz/rid-examples
範例展示如何使用 Rid 來建構與 Rust 整合的 Dart/Flutter 應用程式。
- Stars
- 228
- Forks
- 6
- 最近推送(UTC)
- 2021年10月2日
- 專案狀態
- 未封存
技術主題
所在榜單
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
展開 / 收合專案 README
rid-examples
Examples showing how to use Rid in order to build Dart/Flutter apps integrated with Rust.
What is Rid?
Rid stands for Rust integrates Dart and is a tool I am working on that allows to call Rust functions from Dart and Flutter applications by simply annotating them. Its main goal is to make it super easy to implement your UI in Flutter and the logic in Rust.
This in turn allows you to benefit from the respective strength of each platform.
Learn more by following the Getting Started guide.
How does Rid work?
Rid consumes the annotations added to your Rust code to generate all the FFI boilerplate to interact with them from Dart /Flutter.
Additionally it generates extension methods on entities, such as models in order to expose an API on the Dart/Flutter end that is super fun to work with.
Learn more rids application architecture.
Examples
Flutter
Dart Only
Is Rid open sourced?
Rid is Sponsorware and thus not open sourced yet.
Please learn more here about how you can sponsor rid via a monthly contribution and when rid will be fully open sourced.
LICENSE
MIT