From 7c29ea7d8cb5c1c99fa5abc9d57ee51403d53087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Thu, 23 Nov 2023 23:36:54 +0100 Subject: [PATCH 1/3] Upgrade syn --- maud_macros/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maud_macros/Cargo.toml b/maud_macros/Cargo.toml index 1c5c4e83..8a38d8a4 100644 --- a/maud_macros/Cargo.toml +++ b/maud_macros/Cargo.toml @@ -11,7 +11,7 @@ description = "Compile-time HTML templates." edition = "2021" [dependencies] -syn = "1.0.8" +syn = "2" quote = "1.0.7" proc-macro2 = "1.0.23" proc-macro-error = "1.0.0" From 4ce5a4d429a7c343864f2d2f703341dc6864b621 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Sat, 25 Nov 2023 15:40:21 +0100 Subject: [PATCH 2/3] Disable proc-macro-error syn 1.0.0 dependency --- maud_macros/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maud_macros/Cargo.toml b/maud_macros/Cargo.toml index 8a38d8a4..2f101fbe 100644 --- a/maud_macros/Cargo.toml +++ b/maud_macros/Cargo.toml @@ -14,7 +14,7 @@ edition = "2021" syn = "2" quote = "1.0.7" proc-macro2 = "1.0.23" -proc-macro-error = "1.0.0" +proc-macro-error = { version = "1.0.0", default-features = false } [lib] name = "maud_macros" From aabfcac63cbf438f3bfc32b62b08a0f9fdcb2935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sosth=C3=A8ne=20Gu=C3=A9don?= Date: Sat, 25 Nov 2023 16:44:51 +0100 Subject: [PATCH 3/3] Update docs lockfile --- docs/Cargo.lock | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/docs/Cargo.lock b/docs/Cargo.lock index 63163a98..780c7d06 100644 --- a/docs/Cargo.lock +++ b/docs/Cargo.lock @@ -182,7 +182,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 1.0.109", + "syn", ] [[package]] @@ -257,7 +257,6 @@ dependencies = [ "proc-macro-error-attr", "proc-macro2", "quote", - "syn 1.0.109", "version_check", ] @@ -357,7 +356,7 @@ checksum = "d9735b638ccc51c28bf6914d90a2e9725b377144fc612c49a611fddd1b631d68" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn", ] [[package]] @@ -380,17 +379,6 @@ dependencies = [ "deunicode", ] -[[package]] -name = "syn" -version = "1.0.109" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - [[package]] name = "syn" version = "2.0.22" @@ -442,7 +430,7 @@ checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.22", + "syn", ] [[package]]