-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rust_features
unknown field
#2324
Comments
Firstly, could you please show |
the last version |
That's weird. We even have it in tests:
|
Oops sorry, it is in master branch, not released yet! (I originally wanted to gather more changes before releasing a version, e.g. the actively ongoing PRs) |
Hmm, I saw |
Happy to see it works! |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue. |
Describe the bug
According to documentation, we can use
rust_features: xyz
in flutter_rust_bridge.yaml,https://cjycode.com/flutter_rust_bridge/guides/custom/codegen/full-list#flutter_rust_bridge_codegen-generate
but it gives error.
And I checked the doc of crate codegen
https://docs.rs/flutter_rust_bridge_codegen/latest/lib_flutter_rust_bridge_codegen/codegen/struct.Config.html
There is no the parameter
rust_features
I think the help files are not updated.
How can I set the rust feature?
Steps to reproduce
Hint: A simple way to reproduce is to clone and modify the https://github.com/fzyzcjy/flutter_rust_bridge/tree/master/frb_example/dart_minimal example package according to your needs.
Logs
Expected behavior
No response
Generated binding code
No response
OS
No response
Version of
flutter_rust_bridge_codegen
No response
Flutter info
No response
Version of
clang++
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: