From 02d5c3aae1154fad29742f0a5912785fe0b6526b Mon Sep 17 00:00:00 2001 From: Joshua Liebow-Feeser Date: Tue, 2 Apr 2024 13:15:38 -0700 Subject: [PATCH] [derive] Pin syn to 2.0.55 This is a temporary work-around for #1085. Per #1088, we will remove this and implement a more complete fix before releasing 0.8 (#671). --- zerocopy-derive/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zerocopy-derive/Cargo.toml b/zerocopy-derive/Cargo.toml index 6aba90a4a5..8d0191992a 100644 --- a/zerocopy-derive/Cargo.toml +++ b/zerocopy-derive/Cargo.toml @@ -29,7 +29,10 @@ proc-macro = true [dependencies] proc-macro2 = "1.0.1" quote = "1.0.10" -syn = "2.0.31" +# This pinned dependency is a temporary work-around for #1085. Per #1088, we +# will not ship 0.8 until we've removed this work-around and replaced it with a +# more permanent solution. +syn = "=2.0.55" [dev-dependencies] # We don't use this directly, but trybuild does. On the MSRV toolchain, the