diff --git a/Cargo.lock b/Cargo.lock index 5bbbfaf..0b7ee8c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -878,7 +878,7 @@ dependencies = [ "node-bindgen", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.66", "trybuild", ] diff --git a/nj-derive/Cargo.toml b/nj-derive/Cargo.toml index a93d062..b0f3b31 100644 --- a/nj-derive/Cargo.toml +++ b/nj-derive/Cargo.toml @@ -15,7 +15,7 @@ proc-macro = true [dependencies] proc-macro2 = "1.0" quote = "1.0" -syn = { version = "1.0", features = ["full", "parsing", "visit-mut","derive","extra-traits"] } +syn = { version = "2.0", features = ["full", "parsing", "visit-mut","derive","extra-traits"] } Inflector = "0.11.4" [dev-dependencies]