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.

25 lines
797 B

[package]
name = "boa_ast"
description = "Abstract Syntax Tree definition for the Boa JavaScript engine."
keywords = ["javascript", "js", "syntax", "ast"]
categories = ["parser-implementations", "compilers"]
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[features]
serde = ["dep:serde", "boa_interner/serde", "bitflags/serde"]
arbitrary = ["dep:arbitrary", "boa_interner/arbitrary", "num-bigint/arbitrary"]
[dependencies]
boa_interner.workspace = true
boa_macros.workspace = true
rustc-hash = "1.1.0"
Bump bitflags from 2.0.0 to 2.0.1 (#2677) Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.0.0 to 2.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/bitflags/bitflags/releases">bitflags's releases</a>.</em></p> <blockquote> <h2>2.0.1</h2> <h2>What's Changed</h2> <ul> <li>Fix up some docs issues by <a href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/309">bitflags/bitflags#309</a></li> <li>Make empty_flag() const. by <a href="https://github.com/tormeh"><code>@​tormeh</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/313">bitflags/bitflags#313</a></li> <li>Fix formatting of multi-bit flags with partial overlap by <a href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/316">bitflags/bitflags#316</a></li> <li>Prepare for 2.0.1 release by <a href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/317">bitflags/bitflags#317</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/tormeh"><code>@​tormeh</code></a> made their first contribution in <a href="https://redirect.github.com/bitflags/bitflags/pull/313">bitflags/bitflags#313</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1">https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md">bitflags's changelog</a>.</em></p> <blockquote> <h1>2.0.1</h1> <h2>What's Changed</h2> <ul> <li>Fix up some docs issues by <a href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/309">bitflags/bitflags#309</a></li> <li>Make empty_flag() const. by <a href="https://github.com/tormeh"><code>@​tormeh</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/313">bitflags/bitflags#313</a></li> <li>Fix formatting of multi-bit flags with partial overlap by <a href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a href="https://redirect.github.com/bitflags/bitflags/pull/316">bitflags/bitflags#316</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/tormeh"><code>@​tormeh</code></a> made their first contribution in <a href="https://redirect.github.com/bitflags/bitflags/pull/313">bitflags/bitflags#313</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1">https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/bitflags/bitflags/commit/8b43d2bb7efbd3d4189fdac92e411ad20c5140b5"><code>8b43d2b</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/317">#317</a> from KodrAus/cargo/2.0.1</li> <li><a href="https://github.com/bitflags/bitflags/commit/836eabbab2c6a1794a52cf3b7130f104e46b9a2d"><code>836eabb</code></a> update changelog</li> <li><a href="https://github.com/bitflags/bitflags/commit/11de329ef17f18f2c57d1e03daf203dbbe60b211"><code>11de329</code></a> prepare for 2.0.1 release</li> <li><a href="https://github.com/bitflags/bitflags/commit/af44dcc322398e5eaab045668ee69e414b8714c1"><code>af44dcc</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/316">#316</a> from KodrAus/fix/multi-bit-flag-fmt</li> <li><a href="https://github.com/bitflags/bitflags/commit/5ba27cfd4be3ae756b6770dab7e75b9d9f43cbc6"><code>5ba27cf</code></a> use the iterator state as the source of extra bits</li> <li><a href="https://github.com/bitflags/bitflags/commit/c4c13dc1771e8645ad948b4b346b22e876c2a7a6"><code>c4c13dc</code></a> add repro for multi-bit flags</li> <li><a href="https://github.com/bitflags/bitflags/commit/ad0271116e28a79ea880334dd3d06212a224ec09"><code>ad02711</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/313">#313</a> from tormeh/tormod/const-empty-flag</li> <li><a href="https://github.com/bitflags/bitflags/commit/242f5e77899e708177cd9b6b1065bb7d277e2d68"><code>242f5e7</code></a> Make empty_flag() const.</li> <li><a href="https://github.com/bitflags/bitflags/commit/2c12c2e63521356da9093aee4d7a28c187f653bf"><code>2c12c2e</code></a> Merge pull request <a href="https://redirect.github.com/bitflags/bitflags/issues/309">#309</a> from bitflags/KodrAus-patch-3</li> <li><a href="https://github.com/bitflags/bitflags/commit/d1d153b4cb50b4f9ca01b4af94843f6d39a7c24f"><code>d1d153b</code></a> fix up some docs issues</li> <li>See full diff in <a href="https://github.com/bitflags/bitflags/compare/2.0.0...2.0.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=bitflags&package-manager=cargo&previous-version=2.0.0&new-version=2.0.1)](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
bitflags = "2.0.1"
num-bigint = "0.4.3"
Bump serde from 1.0.155 to 1.0.156 (#2662) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.155 to 1.0.156. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p> <blockquote> <h2>v1.0.156</h2> <ul> <li>Documentation improvements</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/serde-rs/serde/commit/54671259aaaf2617b0f27dce6cc519058d4f3a90"><code>5467125</code></a> Release 1.0.156</li> <li><a href="https://github.com/serde-rs/serde/commit/994f7c7924f7fccde5c474644f6d22115586bdee"><code>994f7c7</code></a> Format with rustfmt 1.5.2-nightly</li> <li><a href="https://github.com/serde-rs/serde/commit/7a8e4977e230e2da45bb7e1f75d7a3175b6a7755"><code>7a8e497</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2401">#2401</a> from dtolnay/docderive</li> <li><a href="https://github.com/serde-rs/serde/commit/fb7b6ea7ea8864a41e78378ca0555ce3f1dd8965"><code>fb7b6ea</code></a> Enable serde derive feature when built by docs.rs</li> <li><a href="https://github.com/serde-rs/serde/commit/063dd5b93f9f0c3181de399132441668fed67029"><code>063dd5b</code></a> Show derive macros in serde's rustdoc</li> <li><a href="https://github.com/serde-rs/serde/commit/a38aa31ade469b034dc8d04c39cc52c0e76c9e75"><code>a38aa31</code></a> Merge pull request <a href="https://redirect.github.com/serde-rs/serde/issues/2400">#2400</a> from Nilstrieb/explicit-reexport</li> <li><a href="https://github.com/serde-rs/serde/commit/f42b2581da2bdbb81713a93d3b7e581b81e4332e"><code>f42b258</code></a> Use explicit re-export of <code>serde_derive</code> to give rustc more info</li> <li>See full diff in <a href="https://github.com/serde-rs/serde/compare/v1.0.155...v1.0.156">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.155&new-version=1.0.156)](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
serde = { version = "1.0.156", features = ["derive"], optional = true }
arbitrary = { version = "1", features = ["derive"], optional = true }