-
So I'm developing a rust library that I want to create dart/flutter bindings for. My project is a cargo workspace that currently has this structure: lox: project root
Given that a crate can be multiple bins but just one lib, I don't see how I could structure my project in any other way. However, flutter_rust_bridge only works for structs in the same crate (lox-dart), I would have to mirror every single type of my library. Which seems all but practical or efficient. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, does the proposal in #1903 solves your problem? (Feel free to discuss there as well) |
Beta Was this translation helpful? Give feedback.
-
I have my flutter bindings and api in a subfolder (crate in workspace) called flutter_bridge/ You can still use your libraries, but you'll have to treat them as external libraries: Check the linked issue for examples |
Beta Was this translation helpful? Give feedback.
Hi, does the proposal in #1903 solves your problem? (Feel free to discuss there as well)