diff --git a/crates/backend/Cargo.toml b/crates/backend/Cargo.toml index 85b0e77e..0608d5de 100644 --- a/crates/backend/Cargo.toml +++ b/crates/backend/Cargo.toml @@ -21,7 +21,7 @@ type-def = ["regex", "once_cell"] convert_case = "0.5" proc-macro2 = "1" quote = "1" -syn = { version = "1", features = ["fold", "full", "extra-traits"] } +syn = { version = "1.0.61", features = ["fold", "full", "extra-traits"] } [dependencies.regex] optional = true diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index f0900a7b..5d5c9a53 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -26,7 +26,7 @@ convert_case = "0.5" napi-derive-backend = { version = "1.0.37", path = "../backend" } proc-macro2 = "1.0" quote = "1.0" -syn = { version = "1.0", features = ["fold", "full", "extra-traits"] } +syn = { version = "1.0.61", features = ["fold", "full", "extra-traits"] } [lib] proc-macro = true