diff --git a/bindings-generator/Cargo.toml b/bindings-generator/Cargo.toml index 671e45f22..6ea0d182d 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", features = ["full", "extra-traits", "visit"] } +syn = { version = "1.0.84", 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 4a09f6d87..9bef0d5a2 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", features = ["full", "extra-traits", "visit"] } +syn = { version = "1.0.84", 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 2c0970601..307095d0f 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", features = ["full", "extra-traits", "visit", "visit-mut"] } +syn = { version = "1.0.84", features = ["full", "extra-traits", "visit", "visit-mut"] } quote = "1" proc-macro2 = "1"