Rust编写的JavaScript引擎,该项目是一个试验性质的项目。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
392 B

[package]
name = "boa_macros"
description = "Macros for the Boa JavaScript engine."
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
proc-macro = true
[dependencies]
Bump quote from 1.0.25 to 1.0.26 (#2663) Bumps [quote](https://github.com/dtolnay/quote) from 1.0.25 to 1.0.26. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dtolnay/quote/commit/ca98b6594a0bee362a431481ba9ba64e502cc757"><code>ca98b65</code></a> Release 1.0.26</li> <li><a href="https://github.com/dtolnay/quote/commit/bf9bca96687129edc12963c188c60efd0a97a5ce"><code>bf9bca9</code></a> Merge pull request <a href="https://redirect.github.com/dtolnay/quote/issues/247">#247</a> from dtolnay/wrongspan</li> <li><a href="https://github.com/dtolnay/quote/commit/d67f6ffb804f6cd17efe7724b6c0bb8c544b76e0"><code>d67f6ff</code></a> Ignore intentional unused_self pedantic clippy lint</li> <li><a href="https://github.com/dtolnay/quote/commit/8931b2a8b4dc1598b61455630d41c6fd13f63394"><code>8931b2a</code></a> Improve error message on incorrectly typed span</li> <li><a href="https://github.com/dtolnay/quote/commit/51bb1e7e9e7009224b1cb310515fbdd1e4b78e24"><code>51bb1e7</code></a> Merge pull request <a href="https://redirect.github.com/dtolnay/quote/issues/246">#246</a> from dtolnay/spaninfer</li> <li><a href="https://github.com/dtolnay/quote/commit/f3f7140ee2fb035f88b8ffd87f471e034384da88"><code>f3f7140</code></a> Fix compatibility with rustc pre-1.46</li> <li><a href="https://github.com/dtolnay/quote/commit/76b38b23de4a55207cab27f940b3eefb19bbf30c"><code>76b38b2</code></a> Alternative approach with private types</li> <li><a href="https://github.com/dtolnay/quote/commit/3eb19542933e0519e34d0c80ac07f30228e910e3"><code>3eb1954</code></a> Help span argument of quote_spanned get inferred to Span</li> <li>See full diff in <a href="https://github.com/dtolnay/quote/compare/1.0.25...1.0.26">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=quote&package-manager=cargo&previous-version=1.0.25&new-version=1.0.26)](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>
2 years ago
quote = "1.0.26"
Bump syn from 2.0.3 to 2.0.8 (#2728) Bumps [syn](https://github.com/dtolnay/syn) from 2.0.3 to 2.0.8. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dtolnay/syn/releases">syn's releases</a>.</em></p> <blockquote> <h2>2.0.8</h2> <ul> <li>Treat <code>try</code> keyword as 2015-edition identifier in definition of try macro (<a href="https://redirect.github.com/dtolnay/syn/issues/1422">#1422</a>)</li> </ul> <h2>2.0.7</h2> <ul> <li>Fix parsing of <code>mut self</code> inside of Type::BareFn</li> </ul> <h2>2.0.6</h2> <ul> <li>Improve error message on missing ';' between statements (<a href="https://redirect.github.com/dtolnay/syn/issues/1419">#1419</a>)</li> <li>Keep non-brace macro invocations in trailing expr position as Expr::Macro (<a href="https://redirect.github.com/dtolnay/syn/issues/1420">#1420</a>)</li> </ul> <h2>2.0.5</h2> <ul> <li>Expose <code>ExprMacro</code> data structure even when <code>features=&quot;full&quot;</code> is not used (<a href="https://redirect.github.com/dtolnay/syn/issues/1417">#1417</a>)</li> </ul> <h2>2.0.4</h2> <ul> <li>Improve error reporting when parsing identifiers and paths (<a href="https://redirect.github.com/dtolnay/syn/issues/1415">#1415</a>, <a href="https://redirect.github.com/dtolnay/syn/issues/1416">#1416</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dtolnay/syn/commit/2fea56f57a1cd5fed439486924f851409e86561f"><code>2fea56f</code></a> Release 2.0.8</li> <li><a href="https://github.com/dtolnay/syn/commit/40aa291011e191962fc08ba88e753c58d42f5497"><code>40aa291</code></a> Merge pull request <a href="https://redirect.github.com/dtolnay/syn/issues/1422">#1422</a> from dtolnay/trymacro</li> <li><a href="https://github.com/dtolnay/syn/commit/f3a4a4c0c104866ab12619638ba7db4b26d202ad"><code>f3a4a4c</code></a> Treat try keyword as 2015 ident in definition of try macro</li> <li><a href="https://github.com/dtolnay/syn/commit/b862eff8aa093dda6b8f8cc44418fa789b05b34c"><code>b862eff</code></a> Release 2.0.7</li> <li><a href="https://github.com/dtolnay/syn/commit/e6b1bdfc2925e0c90e44bfe9f50c9edd24916490"><code>e6b1bdf</code></a> Disallow consecutive path separator in use paths</li> <li><a href="https://github.com/dtolnay/syn/commit/8ae37b75d6c66f0b794dcc39db0a930200c18e79"><code>8ae37b7</code></a> Fix duplicated name of mut self bare fn arg</li> <li><a href="https://github.com/dtolnay/syn/commit/78401020bad8455aa415b586fb3c9429c5045c7e"><code>7840102</code></a> Release 2.0.6</li> <li><a href="https://github.com/dtolnay/syn/commit/e76d6441fd62ec258026c3b5e877e3c4afa5aaf7"><code>e76d644</code></a> Merge pull request <a href="https://redirect.github.com/dtolnay/syn/issues/1420">#1420</a> from dtolnay/nonbracemacro</li> <li><a href="https://github.com/dtolnay/syn/commit/6dcc48070fe72764d1d708db5c16c9e77dc8eeb9"><code>6dcc480</code></a> Keep non-brace macro invocations in trailing expr position as Expr::Macro</li> <li><a href="https://github.com/dtolnay/syn/commit/d12db40c494530f21c030b9e49d1cfcd1d71e241"><code>d12db40</code></a> Merge pull request <a href="https://redirect.github.com/dtolnay/syn/issues/1419">#1419</a> from dtolnay/expectedsemi</li> <li>Additional commits viewable in <a href="https://github.com/dtolnay/syn/compare/2.0.3...2.0.8">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=syn&package-manager=cargo&previous-version=2.0.3&new-version=2.0.8)](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>
2 years ago
syn = { version = "2.0.8", features = ["full"] }
proc-macro2 = "1.0"
synstructure = "0.12"