Type-safe Rust-In-Flutter 3.0: Flutter as your Rust GUI, now with Type-safe RESTful messages. It's so easy that 10 minutes are enough to fully prepare your new Flutter-Rust app
Hello Rust Community,
We are excited to introduce type-safe messages for Rust-In-Flutter, a framework that seamlessly integrates Rust to deliver blazingly fast performance in Flutter apps.
With the latest version of Rust-In-Flutter, we've worked hard to bring you the easiest tutorial and high-performance messages powered by Protobuf. Connecting Rust with Flutter has never been easier!
🆎 Rust-In-Flutter
"Rust as your Flutter backend, Flutter as your Rust frontend"
Designed for ease of use, future scalability, and unparalleled performance, this lightweight framework takes care of all the complexity behind the scenes. No messing with sensitive build files, no excessive code generation during development. Simply add this package to your app project, and you're all set to write Flutter and Rust together!
Platform Support
All platforms available with Flutter are tested and supported. Challenging build settings are automatically handled by this package.
| Dev OS | Linux | Android | Windows | macOS | iOS | Web |
|---|---|---|---|---|---|---|
| Linux | ✅ | ✅ | \- | \- | \- | ✅ |
| Windows | \- | ✅ | ✅ | \- | \- | ✅ |
| macOS | \- | ✅ | \- | ✅ | ✅ | ✅ |
Benefits
- Rust integration with the ability to use an arbitrary number of library crates
- Async interaction with no blocking
- RESTful API with easy request from Dart and response from Rust
- Type-safe and flexible messages powered by Protobuf
- Streaming from Rust to Dart
- Automatic restart of Rust logic on Dart's hot restart
- No memory copy when sending native data
Why Use Flutter?
While Rust is a powerful language for high-performance native programming, its ecosystem for building graphical user interfaces is far from being mature. Though it already has some GUI frameworks like iced, egui, gtk-rs, and others, it doesn't compete with extensive support and smooth development experience that Flutter provides. It's only Flutter that compiles to all 6 major platforms from a single codebase.
Flutter is a powerful and versatile framework that has gained immense popularity for building cross-platform applications with stunning user interfaces. It provides declarative pattern, beautiful widgets, hot reload, convenient debugging tools, and dedicated packages for user interfaces right out-of-the-box.
📖 Documentation
Check out the documentation for everything you need to know about how to use this thing.