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
779 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"]
arbitrary = ["dep:arbitrary", "boa_interner/arbitrary", "num-bigint/arbitrary"]
[dependencies]
boa_interner.workspace = true
boa_macros.workspace = true
rustc-hash = "1.1.0"
bitflags = "1.3.2"
num-bigint = "0.4.3"
Bump serde from 1.0.153 to 1.0.154 (#2645) Bumps [serde](https://github.com/serde-rs/serde) from 1.0.153 to 1.0.154. <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.154</h2> <ul> <li>Fix &quot;undeclared lifetime&quot; error in generated code when deriving Deserialize for an enum with both <code>flatten</code> and <code>'static</code> fields (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2383">#2383</a>, thanks <a href="https://github.com/Mingun"><code>@​Mingun</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/serde-rs/serde/commit/6a5da85fcd121b4a29ea333707403ce31f49d1e7"><code>6a5da85</code></a> Release 1.0.154</li> <li><a href="https://github.com/serde-rs/serde/commit/0750eee4ff14ab20991222ea98965b547e6ddbd0"><code>0750eee</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2383">#2383</a> from Mingun/fix-flatten+static</li> <li><a href="https://github.com/serde-rs/serde/commit/ef551a517c0b02c03774e7a95010179cddae7ea0"><code>ef551a5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2389">#2389</a> from dtolnay/trimstart</li> <li><a href="https://github.com/serde-rs/serde/commit/1c5ea24f76d488308f6fbe50dfe35401d7110c97"><code>1c5ea24</code></a> Replace use of deprecated trim_left_matches with trim_start_matches</li> <li><a href="https://github.com/serde-rs/serde/commit/88d73e52504c9a3371ca8b81194fa7477c6cf3a9"><code>88d73e5</code></a> Format PR 2387 with rustfmt</li> <li><a href="https://github.com/serde-rs/serde/commit/1ff2a972c69eece9c576a70a96c45d5167ad7481"><code>1ff2a97</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2388">#2388</a> from serde-rs/exhaustivepatterns</li> <li><a href="https://github.com/serde-rs/serde/commit/bb72fe2726b4634813f24a045fbd72780232f25f"><code>bb72fe2</code></a> Update the comment on simpler exhaustive matching in derive</li> <li><a href="https://github.com/serde-rs/serde/commit/38c130a30350401a0211e519bc7b06ae3df49ccd"><code>38c130a</code></a> Do not generate <code>DeserializeSeed</code> impl when not needed</li> <li><a href="https://github.com/serde-rs/serde/commit/c7393614ffac49ea5a85bbb8ee5ae43b2657a139"><code>c739361</code></a> Fix generation of non-existent lifetime 'de when enum contains a #[serde(flat...</li> <li>See full diff in <a href="https://github.com/serde-rs/serde/compare/v1.0.153...v1.0.154">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.153&new-version=1.0.154)](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.154", features = ["derive"], optional = true }
arbitrary = { version = "1", features = ["derive"], optional = true }