Skip to content

Commit

Permalink
fix(deps): update rust crate syn to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Jul 29, 2023
1 parent 7db01bb commit 4829cdb
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion yarte_codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion yarte_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion yarte_dom/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion yarte_hir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion yarte_lexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion yarte_parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion yarte_strnom/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down

0 comments on commit 4829cdb

Please sign in to comment.