From cf91a51fc2104122d60be31820435736b9035cbd Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 22 Mar 2023 20:57:46 +0100 Subject: [PATCH] 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. --- glib-macros/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib-macros/Cargo.toml b/glib-macros/Cargo.toml index 3e17865993c5..d6193d4bd977 100644 --- a/glib-macros/Cargo.toml +++ b/glib-macros/Cargo.toml @@ -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]