diff --git a/bindings-generator/Cargo.toml b/bindings-generator/Cargo.toml index 6ea0d182d..83c8ffcbb 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", "unicode-perl"] } # for security: https://blog.rust-lang.org/2022/03/08/cve-2022-24713.html roxmltree = "0.19" -syn = { version = "1.0.84", features = ["full", "extra-traits", "visit"] } +syn = { version = "2.0.58", features = ["full", "extra-traits", "visit"] } unindent = "0.2.0" which = { optional = true, version = "5" } diff --git a/gdnative-derive/Cargo.toml b/gdnative-derive/Cargo.toml index 9bef0d5a2..64c2c1fba 100644 --- a/gdnative-derive/Cargo.toml +++ b/gdnative-derive/Cargo.toml @@ -15,7 +15,7 @@ rust-version = "1.70" proc-macro = true [dependencies] -syn = { version = "1.0.84", features = ["full", "extra-traits", "visit"] } +syn = { version = "2.0.58", features = ["full", "extra-traits", "visit"] } quote = "1" proc-macro2 = "1" proc-macro-crate = "2" diff --git a/impl/proc-macros/Cargo.toml b/impl/proc-macros/Cargo.toml index 307095d0f..8336a7356 100644 --- a/impl/proc-macros/Cargo.toml +++ b/impl/proc-macros/Cargo.toml @@ -14,6 +14,6 @@ rust-version = "1.70" proc-macro = true [dependencies] -syn = { version = "1.0.84", features = ["full", "extra-traits", "visit", "visit-mut"] } +syn = { version = "2.0.58", features = ["full", "extra-traits", "visit", "visit-mut"] } quote = "1" proc-macro2 = "1"