FLUTTER ECOSYSTEM

thlorenz/rid-examples

示例展示了如何使用 Rid 来构建与 Rust 集成的 Dart/Flutter 应用。

rid-examples 项目封面
Stars
228
Forks
6
最近推送(UTC)
2021年10月2日
项目状态
未归档
Thorsten Lorenz GitHub avatar
GITHUB User

Thorsten Lorenz ↗

Open sourcerer with focus on TypeScript/JavaScript, Rust and Flutter/Dart. Thanks for your support! 🙏 ❤️

语言DartRustC++CMakeSwiftRubyShellHTMLKotlinCObjective-CStarlark

技术话题

所在榜单

原始 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