From 0289d317246e63a584ace43d26c42e7ebfb6ecb4 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 3 Jul 2023 04:20:25 -0700 Subject: [PATCH] Fix -Zminimal-versions build --- serde_derive/Cargo.toml | 2 +- serde_derive_internals/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/serde_derive/Cargo.toml b/serde_derive/Cargo.toml index a7ca447e8..29c739e1d 100644 --- a/serde_derive/Cargo.toml +++ b/serde_derive/Cargo.toml @@ -24,7 +24,7 @@ proc-macro = true [dependencies] proc-macro2 = "1.0" quote = "1.0" -syn = "2.0.3" +syn = "2.0.21" [dev-dependencies] serde = { version = "1.0", path = "../serde" } diff --git a/serde_derive_internals/Cargo.toml b/serde_derive_internals/Cargo.toml index b89ff0fbf..79cae4372 100644 --- a/serde_derive_internals/Cargo.toml +++ b/serde_derive_internals/Cargo.toml @@ -17,7 +17,7 @@ path = "lib.rs" [dependencies] proc-macro2 = "1.0" quote = "1.0" -syn = { version = "2.0", default-features = false, features = ["derive", "parsing", "printing", "clone-impls"] } +syn = { version = "2.0.21", default-features = false, features = ["derive", "parsing", "printing", "clone-impls"] } [package.metadata.docs.rs] targets = ["x86_64-unknown-linux-gnu"]