Skip to content

Commit

Permalink
glib-macros: enable default features of syn
Browse files Browse the repository at this point in the history
The code in this crate uses features of "syn" which are only present
when the default features are enabled. This previously worked "by
accident" because other crates in the dependency tree pulled in the
"default" feature of syn, but these crates have started moving to
syn v2, so this is no longer the case.
  • Loading branch information
decathorpe authored and sdroege committed Mar 27, 2023
1 parent 3247b4f commit ba9d6fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glib-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ heck = "0.4"
proc-macro-error = "1.0"
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "1.0", features = ["full"], default-features = false }
syn = { version = "1.0", features = ["full"] }
proc-macro-crate = "1.0"

[lib]
Expand Down

0 comments on commit ba9d6fc

Please sign in to comment.