From 671ec246b1954027c773ce6dc74f07f26e8c0ae4 Mon Sep 17 00:00:00 2001 From: Victor Graf Date: Fri, 8 Nov 2024 13:31:44 -0800 Subject: [PATCH 1/2] Specify a minimum version for `syn` as `2.0.81` --- borsh-derive/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borsh-derive/Cargo.toml b/borsh-derive/Cargo.toml index 80e41f7b7..ff8a33975 100644 --- a/borsh-derive/Cargo.toml +++ b/borsh-derive/Cargo.toml @@ -25,7 +25,7 @@ quote = "1" once_cell = "1.18.0" [dev-dependencies] -syn = { version = "2", features = ["full", "fold", "parsing"] } +syn = { version = "2.0.81", features = ["full", "fold", "parsing"] } prettyplease = "0.2.9" insta = "1.29.0" From ec3aec71ab439bcfd8068eb9c4b7f81bcab4cf29 Mon Sep 17 00:00:00 2001 From: Victor Graf Date: Sat, 9 Nov 2024 06:14:39 -0800 Subject: [PATCH 2/2] Update `syn` version in `[dependencies]` --- borsh-derive/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borsh-derive/Cargo.toml b/borsh-derive/Cargo.toml index ff8a33975..0bfa2ed8f 100644 --- a/borsh-derive/Cargo.toml +++ b/borsh-derive/Cargo.toml @@ -18,7 +18,7 @@ exclude = ["*.snap"] proc-macro = true [dependencies] -syn = { version = "2", features = ["full", "fold"] } +syn = { version = "2.0.81", features = ["full", "fold"] } proc-macro-crate = "3" proc-macro2 = "1" quote = "1"