Skip to content

Commit

Permalink
does this work?
Browse files Browse the repository at this point in the history
  • Loading branch information
Alextopher committed Oct 21, 2024
1 parent be530a5 commit 8b7fe0e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/yew-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rust-version = "1.76.0"
proc-macro = true

[dependencies]
proc-macro-error2 = { version = "2", features = ["nightly"] }
proc-macro-error2 = "2"
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["full", "extra-traits", "visit-mut"] }
Expand All @@ -29,5 +29,9 @@ rustversion = "1"
trybuild = "1"
yew = { path = "../yew" }

[features]
default = []
nightly_yew = ["proc-macro-error2/nightly"]

[lints.rust]
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(nightly_yew)'] }

0 comments on commit 8b7fe0e

Please sign in to comment.