rust_in_flutter 2.8.3
rust_in_flutter: ^2.8.3 copied to clipboard
Rust as your Flutter backend, Flutter as your Rust frontend
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add rust_in_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
rust_in_flutter: ^2.8.3Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:rust_in_flutter/rust_in_flutter.dart';