From 4c22bd43cf83dbe0ca87f8e3ca0eedcb43437f24 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 30 Jul 2023 16:57:27 +0000 Subject: [PATCH] fix(deps): update rust crate syn to v2 --- yarte_codegen/Cargo.toml | 2 +- yarte_derive/Cargo.toml | 2 +- yarte_dom/Cargo.toml | 2 +- yarte_hir/Cargo.toml | 2 +- yarte_lexer/Cargo.toml | 2 +- yarte_parser/Cargo.toml | 2 +- yarte_strnom/Cargo.toml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) 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"] }