-
Notifications
You must be signed in to change notification settings - Fork 343
RFC: feat: allow omission of dart-opaque feature #2662
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
Changes from 5 commits
26c79f2
36e8b9f
ae8c875
b38f974
a75df11
60ad9a7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,20 @@ edition = "2021" | |
crate-type = ["cdylib"] | ||
|
||
[dependencies] | ||
flutter_rust_bridge = { path = "../../../frb_rust" } | ||
flutter_rust_bridge = { path = "../../../frb_rust", default-features = false, features = [ | ||
"anyhow", | ||
# "dart-opaque", | ||
"log", | ||
"portable-atomic", | ||
"rust-async", | ||
"thread-pool", | ||
"user-utils", | ||
"wasm-start", | ||
] } | ||
|
||
[lints.rust] | ||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(frb_expand)'] } | ||
|
||
[features] | ||
default = ["dart-opaque"] | ||
dart-opaque = ["flutter_rust_bridge/dart-opaque"] | ||
Comment on lines
+24
to
+26
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: is it possible we make it as simple as possible, say, is it possible to remove the dart-opaque line, and directly specify as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know of another way to do this. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.