Can't find how to add new rust files using v2 #1892
-
I think this library looks awesome, and the proof of concept added with the codegen is great. However, I added a file to my rust/src/api folder and now I can't get the dart side to generate using the codegen. I added the name of the file into lib.rs, and my paths look to be in order in my flutter_rust_bridge.yaml file. Is there a tutorial anywhere on how this is supposed to work? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Could you please share a minimal reproducible sample (e.g. a github repo)? Without more information, maybe firstly check, do you add |
Beta Was this translation helpful? Give feedback.
Hmm https://github.com/clyde-gustafson/test_rust_bridge/blob/753e78449c8b5b29423fb4ed5d4ea413d69db9b3/rust/src/api/midi_convert.rs#L6 , what about
pub fn
?