[experimental-feature] Missing features (help wanted!) #2967
Replies: 9 comments 7 replies
-
|
Interestingly, |
Beta Was this translation helpful? Give feedback.
-
|
Oh, maybe I don't need to put |
Beta Was this translation helpful? Give feedback.
-
|
Yep, that worked! However, I now have: In a lot of the generated stuff. |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
Theres also a few: |
Beta Was this translation helpful? Give feedback.
-
|
So, the issue appears to be shadowing? Maybe the SDK should rename things that has the same name as inbuilt types like Future or new to something else. |
Beta Was this translation helpful? Give feedback.
-
|
There is also this: |
Beta Was this translation helpful? Give feedback.
-
|
This bridge seems to almost get it to work, though, its very close! It's mainly:
Any idea how I can fix this? I think some needs to be done in this bridge tool, and maybe some others I will need to override by myself? |
Beta Was this translation helpful? Give feedback.
-
|
Hi, yes I expect the experimental feature to have some issues parsing corner cases for arbitrary Rust crates. For generics, it is a feature not yet implemented in frb (and is somehow nontrivial). For stream, I guess maybe it somehow conflicts w/ the built-in stream thing. One way may be firstly try to add ignores to the things that frb does not understand and see whether it works. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! This looks really interesting, and I wanted to use it to use the
matrix-sdkcrate. So, I ranflutter_rust_bridge_codegen integrate, then changedflutter_rust_bridge.yamlto haverust_input: crate:matrix-sdk, but it just says this when Igenerate:It's quite possible I'm doing something wrong, maybe I need some rust code? I just wanted to translate the library directly and use it, but maybe that's not possible?
What am I doing wrong? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions