Skip to content

Commit 3e0a18f

Browse files
decathorpebilelmoussaoui
authored andcommitted
glib-macros: enable default features of syn
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.
1 parent 83db6ed commit 3e0a18f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glib-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ heck = "0.4"
1717
proc-macro-error = "1.0"
1818
proc-macro2 = "1.0"
1919
quote = "1.0"
20-
syn = { version = "1.0", features = ["full"], default-features = false }
20+
syn = { version = "1.0", features = ["full"] }
2121
proc-macro-crate = "1.0"
2222

2323
[lib]

0 commit comments

Comments
 (0)