diff --git a/Cargo.lock b/Cargo.lock index d176ea627f..62e1e0da43 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -630,7 +630,7 @@ dependencies = [ "proc-macro2", "quote", "serde", - "syn 1.0.109", + "syn 2.0.27", "trybuild", ] diff --git a/martian-derive/Cargo.toml b/martian-derive/Cargo.toml index dce0fbb4b1..ae377aba0b 100644 --- a/martian-derive/Cargo.toml +++ b/martian-derive/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -syn = {version = "1.0", features = ['full', 'derive', 'parsing', 'printing', 'extra-traits']} +syn = {version = "2.0", features = ['full', 'derive', 'parsing', 'printing', 'extra-traits']} quote = "1.0" proc-macro2 = "1.0" martian = { path = "../martian" }