Skip to content

Commit 0718cb5

Browse files
committedJan 16, 2025
Update lints
1 parent ac41c0d commit 0718cb5

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed
 

‎Cargo.toml

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
[workspace]
2-
members = [
3-
"frb_codegen",
4-
"frb_macros",
5-
"frb_rust",
6-
]
2+
members = ["frb_codegen", "frb_macros", "frb_rust"]
73
exclude = [
84
# Exclude example packages to ensure the example mimics how a typical user will use it.
95
# For example, the `target` directory is different with and without workspaces.
@@ -47,4 +43,7 @@ flutter_rust_bridge_codegen = { path = "frb_codegen", version = "=2.7.0" }
4743

4844
[profile.release.package.flutter_rust_bridge_codegen]
4945
strip = "debuginfo"
50-
debug = 1 # preserves some debug information
46+
debug = 1 # preserves some debug information
47+
48+
[workspace.lints.rust]
49+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(frb_expand)'] }

0 commit comments

Comments
 (0)
Please sign in to comment.