Browse Source

Bump synstructure from 0.12.6 to 0.13.0 (#2746)

Bumps [synstructure](https://github.com/mystor/synstructure) from 0.12.6 to 0.13.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/mystor/synstructure/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=synstructure&package-manager=cargo&previous-version=0.12.6&new-version=0.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

Co-authored-by: jedel1043 <jedel0124@gmail.com>
pull/2759/head
dependabot[bot] 2 years ago
parent
commit
5129a06de9
  1. 22
      Cargo.lock
  2. 2
      boa_macros/Cargo.toml
  3. 2
      boa_macros/src/lib.rs

22
Cargo.lock generated

@ -435,7 +435,7 @@ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 2.0.11", "syn 2.0.11",
"synstructure", "synstructure 0.13.0",
] ]
[[package]] [[package]]
@ -1119,7 +1119,7 @@ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 1.0.109", "syn 1.0.109",
"synstructure", "synstructure 0.12.6",
] ]
[[package]] [[package]]
@ -3903,6 +3903,18 @@ dependencies = [
"unicode-xid", "unicode-xid",
] ]
[[package]]
name = "synstructure"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "285ba80e733fac80aa4270fbcdf83772a79b80aa35c97075320abfee4a915b06"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.11",
"unicode-xid",
]
[[package]] [[package]]
name = "sys-info" name = "sys-info"
version = "0.9.1" version = "0.9.1"
@ -5035,7 +5047,7 @@ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 1.0.109", "syn 1.0.109",
"synstructure", "synstructure 0.12.6",
] ]
[[package]] [[package]]
@ -5056,7 +5068,7 @@ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 1.0.109", "syn 1.0.109",
"synstructure", "synstructure 0.12.6",
] ]
[[package]] [[package]]
@ -5081,7 +5093,7 @@ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
"syn 1.0.109", "syn 1.0.109",
"synstructure", "synstructure 0.12.6",
] ]
[[package]] [[package]]

2
boa_macros/Cargo.toml

@ -16,4 +16,4 @@ proc-macro = true
quote = "1.0.26" quote = "1.0.26"
syn = { version = "2.0.11", features = ["full"] } syn = { version = "2.0.11", features = ["full"] }
proc-macro2 = "1.0" proc-macro2 = "1.0"
synstructure = "0.12" synstructure = "0.13"

2
boa_macros/src/lib.rs

@ -225,7 +225,7 @@ fn derive_trace(mut s: Structure<'_>) -> proc_macro2::TokenStream {
!bi.ast() !bi.ast()
.attrs .attrs
.iter() .iter()
.any(|attr| attr.path.is_ident("unsafe_ignore_trace")) .any(|attr| attr.path().is_ident("unsafe_ignore_trace"))
}); });
let trace_body = s.each(|bi| quote!(mark(#bi))); let trace_body = s.each(|bi| quote!(mark(#bi)));

Loading…
Cancel
Save