diff --git a/yarte_codegen/Cargo.toml b/yarte_codegen/Cargo.toml index ab494708..21d0f6bf 100644 --- a/yarte_codegen/Cargo.toml +++ b/yarte_codegen/Cargo.toml @@ -25,7 +25,7 @@ yarte_hir = { workspace = true } proc-macro2 = { workspace = true } quote = "1.0" -syn = { version = "1.0", features = ["full", "extra-traits"] } +syn = { version = "2.0", features = ["full", "extra-traits"] } heck = { version = "0.4", optional = true } mime_guess = { version = "2.0", optional = true } diff --git a/yarte_derive/Cargo.toml b/yarte_derive/Cargo.toml index 1fed2511..b1c31668 100644 --- a/yarte_derive/Cargo.toml +++ b/yarte_derive/Cargo.toml @@ -33,7 +33,7 @@ v_jsonescape = { version = "0.7", optional = true } proc-macro2 = { workspace = true } quote = "1.0" -syn = "1.0" +syn = "2.0" [package.metadata.docs.rs] all-features = true diff --git a/yarte_dom/Cargo.toml b/yarte_dom/Cargo.toml index 0bc04144..a1e2d993 100644 --- a/yarte_dom/Cargo.toml +++ b/yarte_dom/Cargo.toml @@ -26,7 +26,7 @@ yarte_helpers = { workspac = true } markup5ever = "0.11" quote = "1.0" -syn = { version= "1.0", features = ["full", "visit", "extra-traits"] } +syn = { version= "2.0", features = ["full", "visit", "extra-traits"] } [package.metadata.docs.rs] all-features = true diff --git a/yarte_hir/Cargo.toml b/yarte_hir/Cargo.toml index 19f15596..4c661d93 100644 --- a/yarte_hir/Cargo.toml +++ b/yarte_hir/Cargo.toml @@ -29,7 +29,7 @@ v_htmlescape = "0.15" proc-macro2 = { workspace = true, features = ["span-locations"] } quote = "1.0" -syn = { version = "1.0", features = ["full", "visit", "visit-mut", "extra-traits"] } +syn = { version = "2.0", features = ["full", "visit", "visit-mut", "extra-traits"] } derive_more = "0.99" diff --git a/yarte_lexer/Cargo.toml b/yarte_lexer/Cargo.toml index 54dd2dd0..735aa955 100644 --- a/yarte_lexer/Cargo.toml +++ b/yarte_lexer/Cargo.toml @@ -25,7 +25,7 @@ yarte_strnom = { workspace = true } # TODO: remove syn libraries quote = "1.0" -syn = { version = "1.0", features = ["full", "extra-traits"] } +syn = { version = "2.0", features = ["full", "extra-traits"] } proc-macro2 = { workspace = true, features = ["span-locations"] } annotate-snippets = { version = "0.9", features = ["color"] } diff --git a/yarte_parser/Cargo.toml b/yarte_parser/Cargo.toml index c36dd086..b86b7475 100644 --- a/yarte_parser/Cargo.toml +++ b/yarte_parser/Cargo.toml @@ -20,7 +20,7 @@ maintenance = { status = "actively-developed" } yarte_helpers = { workspace = true } quote = "1.0" -syn = { version = "1.0", features = ["full", "extra-traits"] } +syn = { version = "2.0", features = ["full", "extra-traits"] } proc-macro2 = { workspace = true, features = ["span-locations"] } annotate-snippets = { version = "0.9", features = ["color"] } diff --git a/yarte_strnom/Cargo.toml b/yarte_strnom/Cargo.toml index fd6bcca4..c6da1780 100644 --- a/yarte_strnom/Cargo.toml +++ b/yarte_strnom/Cargo.toml @@ -21,7 +21,7 @@ maintenance = { status = "actively-developed" } [dependencies] quote = "1.0" -syn = { version = "1.0", features = ["full", "extra-traits"] } +syn = { version = "2.0", features = ["full", "extra-traits"] } proc-macro2 = { workspace = true, features = ["span-locations"] } annotate-snippets = { version = "0.9", features = ["color"] }