From 65cd699cbcc5b2a52be4fc9e5a8332a592d6b84a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 19 Mar 2025 19:41:26 +0000 Subject: [PATCH] macros: Allow use of syn 2 Now there is almost nothing here, we don't need any code changes between syn 1 and syn 2. Signed-off-by: Ian Jackson --- Cargo.lock | 2 +- macros/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1c06c6c..1698ad2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -667,7 +667,7 @@ version = "1.2.1" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.100", ] [[package]] diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 2abe0a6..f2d414a 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -13,7 +13,7 @@ repository="https://salsa.debian.org/iwj/hippotat" homepage="https://www.chiark.greenend.org.uk/~ianmdlvl/hippotat/current/docs/" [dependencies] -syn = { version = "1", features=["extra-traits"] } +syn = { version = ">= 1, < 3", features=["extra-traits"] } proc-macro2 = "1" quote = "1" -- 2.30.2