dustr
is as a binary that parses rust code to generate its dart bindings. The rust code must
be marked using procedural macros from the ffishim_derive library.
With dustr, you can call this rust code:
#[ffishim_function]
fn hello(s: String) -> String {
format!("Hello, {}!", s)
}
from dart:
import 'package:hello/hello.dart';
void main() {
var greeting = hello("fred");
print("${greeting}");
}
For more context, please take a look at the README.md.