chiark / gitweb /
macros: Allow use of syn 2
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 19 Mar 2025 19:41:26 +0000 (19:41 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 20 Mar 2025 00:23:39 +0000 (00:23 +0000)
Now there is almost nothing here, we don't need any code changes
between syn 1 and syn 2.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Cargo.lock
macros/Cargo.toml

index 1c06c6c24c1e6005903dac728eff8bad7c955e5e..1698ad22fcf56548bf5cbd3e6463302bc911825b 100644 (file)
@@ -667,7 +667,7 @@ version = "1.2.1"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 1.0.109",
+ "syn 2.0.100",
 ]
 
 [[package]]
index 2abe0a64f58076327acdd3d5282cfa5e2df7555e..f2d414a63cb14a02cdec1c12272e809260bfca77 100644 (file)
@@ -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"