Skip to content

Commit

Permalink
Updated syn to 2.0.3 (#2702)
Browse files Browse the repository at this point in the history
<!---
Thank you for contributing to Boa! Please fill out the template below, and remove or add any
information as you feel necessary.
--->

This Pull Request fixes/closes #2700. It updates the `syn` dependency to v2.

I had to activate the "full" feature in order to make have the tuple elements available in `boa_macros/src/lib.rs` line 81. Maybe we could look for a different way of doing this (didn't spend time on it), to avoid activating all features of `syn`.
  • Loading branch information
Razican committed Mar 22, 2023
1 parent ff94d5c commit d2dd121
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
74 changes: 37 additions & 37 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion boa_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ proc-macro = true

[dependencies]
quote = "1.0.26"
syn = "1.0.109"
syn = { version = "2.0.3", features = ["full"] }
proc-macro2 = "1.0"
synstructure = "0.12"

0 comments on commit d2dd121

Please sign in to comment.