How to manually add files with 2.0 #1450
Answered
by
fzyzcjy
JustSimplyKyle
asked this question in
Q&A
-
I've found this file.flutter_rust_bridge.yaml rust_input: rust/src/api{.rs,/authentication/*.rs}
dart_output: lib/src/rust but it can't find it... Error: Find zero rust input paths. (glob_pattern="/home/kyle/coding/era-connect/app/rust/src/api{.rs,/authentication/*.rs}")
error: Recipe `gen` failed on line 5 with exit code 1 |
Beta Was this translation helpful? Give feedback.
Answered by
fzyzcjy
Dec 19, 2023
Replies: 1 comment 7 replies
-
Hmm, the default one supports everything inside |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah, I see.
AsRef
? Maybe it is something that thearbitrary rust types
can support.rust_input
! (IIRC it is a simpleglob
currently; but we may discuss what to add before implementing it, e.g. a regex may be too powerful?)