From 2864b5259161cbcd3110a52cf275ab33f01ffd20 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 19 Jul 2022 03:25:00 +0200 Subject: [PATCH] Fix/syn broken semver (#116) * fix(derive): syn backwards compatibility * fix: bump minimum syn version more after tests --- derive/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/derive/Cargo.toml b/derive/Cargo.toml index e3e0f39..8bbe64f 100644 --- a/derive/Cargo.toml +++ b/derive/Cargo.toml @@ -15,7 +15,8 @@ name = "bytemuck_derive" proc-macro = true [dependencies] -syn = "1" +# syn seems to have broken backwards compability in this version https://github.com/dtolnay/syn/issues/1194 +syn = "1.0.15" quote = "1" proc-macro2 = "1"