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.

23 lines
702 B

[package]
name = "boa_wasm"
version = "0.13.0"
authors = ["boa-dev"]
description = "Boa is a Javascript lexer, parser and Just-in-Time compiler written in Rust. Currently, it has support for some of the language."
repository = "https://github.com/boa-dev/boa"
keywords = ["javascript", "compiler", "lexer", "parser", "js"]
categories = ["wasm"]
license = "Unlicense/MIT"
exclude = ["../.vscode/*", "../Dockerfile", "../Makefile", "../.editorConfig"]
edition = "2021"
rust-version = "1.56"
[dependencies]
Boa = { path = "../boa", features = ["console"] }
wasm-bindgen = "0.2.78"
Bump getrandom from 0.2.3 to 0.2.4 (#1783) Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.3 to 0.2.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md">getrandom's changelog</a>.</em></p> <blockquote> <h2>[0.2.4] - 2021-12-13</h2> <h3>Changed</h3> <ul> <li>Use explicit imports in the <code>js</code> backend <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/220">#220</a></li> <li>Use <code>/dev/urandom</code> on Redox instead of <code>rand:</code> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/222">#222</a></li> <li>Use <code>NonZeroU32::new_unchecked</code> to convert wasi error <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/233">#233</a></li> </ul> <h3>Added</h3> <ul> <li>SOLID targets (<code>*-kmc-solid_*</code>) support <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/235">#235</a></li> <li>Limited Hermit (<code>x86_64-unknown-hermit</code>) support <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/236">#236</a></li> </ul> <p><a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/220">#220</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/220">rust-random/getrandom#220</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/222">#222</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/222">rust-random/getrandom#222</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/233">#233</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/233">rust-random/getrandom#233</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/235">#235</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/235">rust-random/getrandom#235</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/236">#236</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/236">rust-random/getrandom#236</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-random/getrandom/commit/b9c7c0c13d76eead06c4433368fd5c45bdbe7651"><code>b9c7c0c</code></a> Release v0.2.4 (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/238">#238</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/9110af54d199cbdba541039012e218a2223b744f"><code>9110af5</code></a> Fix get_rng_fd comment typo (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/240">#240</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/ec445bb0acb738a7cc97102084292fe6f18d2afc"><code>ec445bb</code></a> Added x86_64-unknown-hermit support (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/236">#236</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/f5e33009edc2ac5ea59f7dde68709e9572b94458"><code>f5e3300</code></a> Add SOLID target support (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/235">#235</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/0d0404be5a7f5024301b433b0941920318309ff8"><code>0d0404b</code></a> Use <code>NonZeroU32::new_unchecked</code> to convert wasi error (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/233">#233</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/e4004f41faed8ec4f6336cfab8ea11e18102392d"><code>e4004f4</code></a> redox: Switch to /dev/urandom (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/222">#222</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/30308ae845b0bf3839e5a92120559eaf56048c28"><code>30308ae</code></a> js: Explictly list all dependancies used with the &quot;js&quot; feature (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/220">#220</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/dcf452bb14f55abdc7dde94c8bb4880dbec581f9"><code>dcf452b</code></a> fix some typos (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/218">#218</a>)</li> <li>See full diff in <a href="https://github.com/rust-random/getrandom/compare/v0.2.3...v0.2.4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=getrandom&package-manager=cargo&previous-version=0.2.3&new-version=0.2.4)](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>
3 years ago
getrandom = { version = "0.2.4", features = ["js"] }
[lib]
crate-type = ["cdylib", "lib"]
name = "boa_wasm"
bench = false