From 7be66a6e87a5edee14b41e03deca1496d09f66b9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Mar 2023 13:28:11 +0000 Subject: [PATCH] Update syn requirement from 1 to 2 Updates the requirements on [syn](https://github.com/dtolnay/syn) to permit the latest version. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.0...2.0.11) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- bindings-generator/Cargo.toml | 2 +- gdnative-derive/Cargo.toml | 2 +- impl/proc-macros/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings-generator/Cargo.toml b/bindings-generator/Cargo.toml index 3c89fe9..b2cb28f 100644 --- a/bindings-generator/Cargo.toml +++ b/bindings-generator/Cargo.toml @@ -23,6 +23,6 @@ proc-macro2 = "1" quote = "1" regex = { version = "1.5.5", default-features = false, features = ["std"] } # for security: https://blog.rust-lang.org/2022/03/08/cve-2022-24713.html roxmltree = "0.18" -syn = { version = "1", features = ["full", "extra-traits", "visit"] } +syn = { version = "2", features = ["full", "extra-traits", "visit"] } unindent = "0.2.0" which = { optional = true, version = "4" } diff --git a/gdnative-derive/Cargo.toml b/gdnative-derive/Cargo.toml index f7c77c5..41244fb 100644 --- a/gdnative-derive/Cargo.toml +++ b/gdnative-derive/Cargo.toml @@ -15,7 +15,7 @@ rust-version = "1.67" proc-macro = true [dependencies] -syn = { version = "1", features = ["full", "extra-traits", "visit"] } +syn = { version = "2", features = ["full", "extra-traits", "visit"] } quote = "1" proc-macro2 = "1" proc-macro-crate = "1" diff --git a/impl/proc-macros/Cargo.toml b/impl/proc-macros/Cargo.toml index fa47588..7b2883e 100644 --- a/impl/proc-macros/Cargo.toml +++ b/impl/proc-macros/Cargo.toml @@ -14,6 +14,6 @@ rust-version = "1.67" proc-macro = true [dependencies] -syn = { version = "1", features = ["full", "extra-traits", "visit", "visit-mut"] } +syn = { version = "2", features = ["full", "extra-traits", "visit", "visit-mut"] } quote = "1" proc-macro2 = "1"