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
619 B

[package]
name = "boa_wasm"
description = "WASM compatibility layer for the Boa JavaScript engine."
keywords = ["javascript", "compiler", "lexer", "parser", "js"]
categories = ["parser-implementations", "wasm", "compilers"]
publish = false
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
[dependencies]
boa_engine = { workspace = true, features = ["console"] }
Bump wasm-bindgen from 0.2.82 to 0.2.83 (#2280) Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) from 0.2.82 to 0.2.83. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/eba691f38ca427c9d440b3d4c44217e58c89c661"><code>eba691f</code></a> Bumped crate versions (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3079">#3079</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/893812fa05622f8be9a2f1099a93c51291a73eae"><code>893812f</code></a> web-sys: include VideoFrame in texImage* functions (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3077">#3077</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/eac9722f992e6aeef1a8c46d4b09ce5359f40bba"><code>eac9722</code></a> Export <code>initSync</code> for no-module builds (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3075">#3075</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/595b04b24aeadd467bbea01c75193d63c3ab6db5"><code>595b04b</code></a> Trigger warnings for unused wasm-bindgen attributes (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3073">#3073</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/f82f5c5852c3abf057bb737d545360a3a5c7d84c"><code>f82f5c5</code></a> Refactor: normalized encoding of ImportModule (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3068">#3068</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/edc5adf4365831a5c9cc8b9a62cff9b011a9103f"><code>edc5adf</code></a> Put FontFace constructor to Immutable slice whitelist (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3072">#3072</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/5c28993bec755386a92d635162cd5a17cad653f5"><code>5c28993</code></a> Update WebGPU's webidl (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3067">#3067</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/e47dda5c8646317c23b41ae1f5496633dd9c3167"><code>e47dda5</code></a> web-sys: Added Streams API (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3065">#3065</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/699e78811e21b52b4642b7b78fc649d1809adad1"><code>699e788</code></a> Revert &quot;web-sys: Added full Streams WebIDL (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3046">#3046</a>)&quot; (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3064">#3064</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/cb94b43596c0bd4076297ac0b8072a4b122aaf6e"><code>cb94b43</code></a> Add <code>TryFrom\&lt;JsValue&gt;</code> for <code>[iu](64|128)</code> (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3058">#3058</a>)</li> <li>Additional commits viewable in <a href="https://github.com/rustwasm/wasm-bindgen/compare/0.2.82...0.2.83">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=wasm-bindgen&package-manager=cargo&previous-version=0.2.82&new-version=0.2.83)](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
wasm-bindgen = "0.2.83"
Bump getrandom from 0.2.7 to 0.2.8 (#2359) Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.7 to 0.2.8. <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.8] - 2022-10-20</h2> <h3>Changed</h3> <ul> <li>The <a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Crypto_API">Web Cryptography API</a> will now be preferred on <code>wasm32-unknown-unknown</code> when using the <code>&quot;js&quot;</code> feature, even on Node.js <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/284">#284</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/295">#295</a></li> </ul> <h3>Added</h3> <ul> <li>Added benchmarks to track buffer initialization cost <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/272">#272</a></li> </ul> <h3>Fixed</h3> <ul> <li>Use <code>$crate</code> in <code>register_custom_getrandom!</code> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/270">#270</a></li> </ul> <h3>Documentation</h3> <ul> <li>Add information about enabling <code>&quot;js&quot;</code> feature <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/280">#280</a></li> <li>Fix link to <code>wasm-bindgen</code> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/278">#278</a></li> <li>Document the varied implementations for underlying randomness sources <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/276">#276</a></li> </ul> <p><a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/284">#284</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/284">rust-random/getrandom#284</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/295">#295</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/295">rust-random/getrandom#295</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/272">#272</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/272">rust-random/getrandom#272</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/270">#270</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/270">rust-random/getrandom#270</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/280">#280</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/280">rust-random/getrandom#280</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/278">#278</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/278">rust-random/getrandom#278</a> <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/276">#276</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/276">rust-random/getrandom#276</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-random/getrandom/commit/5c1bb00b74a2c72ba182171b93d1c4b9d30c10c4"><code>5c1bb00</code></a> Release v0.2.8 (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/294">#294</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/353d0ca1577b7ac662eafb75a4c453b9e0d37c80"><code>353d0ca</code></a> Update docs for wasm32-unknown-unknown implementation (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/295">#295</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/cfdad53dcefa01e2235b72df7290ae76c7163ac3"><code>cfdad53</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/284">#284</a> from rust-random/webcrypto</li> <li><a href="https://github.com/rust-random/getrandom/commit/9962c706c913a0d3ec36b8c2f9d4c913f24f3313"><code>9962c70</code></a> Update Module::require internal comments</li> <li><a href="https://github.com/rust-random/getrandom/commit/e0c93b10d5fa11ad9983e7da3d2ca973f5554c48"><code>e0c93b1</code></a> Catch call to module.require</li> <li><a href="https://github.com/rust-random/getrandom/commit/0503000381d08046490f6f3afe141b5cd3b0bcd4"><code>0503000</code></a> Fix link typo</li> <li><a href="https://github.com/rust-random/getrandom/commit/0579fe3014fda4c96ff2f8ab5e92641dba29d30d"><code>0579fe3</code></a> Update documentation and error messages</li> <li><a href="https://github.com/rust-random/getrandom/commit/d69e8e003b434e98f1ad675cae4b53d3e3864fa0"><code>d69e8e0</code></a> Rework JS feature detection</li> <li><a href="https://github.com/rust-random/getrandom/commit/d3aa089bbdefa95da9130b7c633e1f49687f04ce"><code>d3aa089</code></a> Add description about Cargo js feature for WebAssembly section (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/280">#280</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/0b71d50b4975b492c7ed7185d5d366403966c01b"><code>0b71d50</code></a> Fix link to wasm-bindgen (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/278">#278</a>)</li> <li>Additional commits viewable in <a href="https://github.com/rust-random/getrandom/compare/v0.2.7...v0.2.8">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.7&new-version=0.2.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
getrandom = { version = "0.2.8", features = ["js"] }
[lib]
crate-type = ["cdylib", "lib"]
name = "boa_wasm"
bench = false