From 8318963db71ca42797cb88a8ecf6a88d72f82fa5 Mon Sep 17 00:00:00 2001 From: Soso <51865119+sgued@users.noreply.github.com> Date: Sun, 26 Nov 2023 05:56:12 +0100 Subject: [PATCH] =?UTF-8?q?Upgrade=20to=20`syn`=C2=A02.0.0=20(#400)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Upgrade syn * Disable proc-macro-error syn 1.0.0 dependency * Update docs lockfile --- docs/Cargo.lock | 18 +++--------------- maud_macros/Cargo.toml | 4 ++-- 2 files changed, 5 insertions(+), 17 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]] diff --git a/maud_macros/Cargo.toml b/maud_macros/Cargo.toml index 1c5c4e83..2f101fbe 100644 --- a/maud_macros/Cargo.toml +++ b/maud_macros/Cargo.toml @@ -11,10 +11,10 @@ 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" +proc-macro-error = { version = "1.0.0", default-features = false } [lib] name = "maud_macros"