From b332f9bb2de3618eddd1dba274e5763df116ff4a Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 22 Mar 2023 21:01:33 +0100 Subject: [PATCH] gtk3-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. --- gtk3-macros/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk3-macros/Cargo.toml b/gtk3-macros/Cargo.toml index c8ea3c899626..829bad892bf4 100644 --- a/gtk3-macros/Cargo.toml +++ b/gtk3-macros/Cargo.toml @@ -24,7 +24,7 @@ anyhow = "1.0" proc-macro-error = "1.0" proc-macro2 = "1.0" quote = "1.0" -syn = { version = "1.0", default-features = false, features = ["full"] } +syn = { version = "1.0", features = ["full"] } proc-macro-crate = "1.0" [dev-dependencies]