From 1df437ec94246b4932285b4ed3b22538ca5b3269 Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Sat, 22 Mar 2025 11:21:41 +0100 Subject: [PATCH] Fix minimum supported `syn` version --- askama_derive/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/askama_derive/Cargo.toml b/askama_derive/Cargo.toml index 0ebe238c..cf0810c2 100644 --- a/askama_derive/Cargo.toml +++ b/askama_derive/Cargo.toml @@ -27,7 +27,7 @@ serde_derive = { version = "1.0", optional = true } memchr = "2" quote = { version = "1", default-features = false } rustc-hash = "2.0.0" -syn = { version = "2.0.3", default-features = false, features = ["clone-impls", "derive", "parsing", "printing"] } +syn = { version = "2.0.41", default-features = false, features = ["clone-impls", "derive", "parsing", "printing"] } # in `askama_derive_standalone` we opt out of the default features, because we need no native `proc-macro` support proc-macro2 = "1" @@ -36,7 +36,7 @@ proc-macro2 = "1" console = "0.15.8" prettyplease = "0.2.20" similar = "2.6.0" -syn = { version = "2.0.3", features = ["full"] } +syn = { version = "2.0.41", features = ["full"] } # must be the same feature list as for askama [features]