From: Ian Jackson Date: Wed, 19 Mar 2025 19:41:26 +0000 (+0000) Subject: macros: Allow use of syn 2 X-Git-Tag: debian/1.3.1~10^2~1 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=65cd699cbcc5b2a52be4fc9e5a8332a592d6b84a;p=hippotat.git 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 --- 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"