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.

27 lines
707 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
Bump wasm-bindgen from 0.2.83 to 0.2.84 (#2585) Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen) from 0.2.83 to 0.2.84. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/cea8cc3d2968bd11560ea6a64f8b6b1ff6673c12"><code>cea8cc3</code></a> Bump to 0.2.84 (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3274">#3274</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/995adac992e859428694e08960467c1110c579bf"><code>995adac</code></a> Remove explicit allocator (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3273">#3273</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/1f3c76bca62fa62a05aaae8194c454d693ecc712"><code>1f3c76b</code></a> fix: Make maplike <code>set</code> and setlike <code>add</code> return <code>this</code>, not <code>undefined</code> (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3270">#3270</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/e1b44b75704107bff62abe764294394ce6669ede"><code>e1b44b7</code></a> Add support for linked modules (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3069">#3069</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/d6964278b557e1d4cf608d1dfb67162b1ce3b53a"><code>d696427</code></a> Implement <code>ImageBitmapOptions</code> (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3269">#3269</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/8fc0e2b085ea555354ba3094e66cd0bc94add0af"><code>8fc0e2b</code></a> Add support for setlike interfaces (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3268">#3268</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/5fff0a9846c6a48d15befea7f9f572d19fbbe45a"><code>5fff0a9</code></a> Add WebGL extension type for 16-bit normalized formats (EXT_texture_norm16) (...</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/79cbace56872813dae04f194f6107ca7b9f6bfc9"><code>79cbace</code></a> Fix typos in futures/src/stream.rs documentation (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3264">#3264</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/a4788cac0f7b1ffd86f1564bbab2596f2d0d9b1a"><code>a4788ca</code></a> Lazily initialize memory views (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3253">#3253</a>)</li> <li><a href="https://github.com/rustwasm/wasm-bindgen/commit/979b335e4ef1fdd59bfb520d3868a39e61cd703d"><code>979b335</code></a> Add <code>js_sys::Array::set_length</code> (<a href="https://github-redirect.dependabot.com/rustwasm/wasm-bindgen/issues/3246">#3246</a>)</li> <li>Additional commits viewable in <a href="https://github.com/rustwasm/wasm-bindgen/compare/0.2.83...0.2.84">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.83&new-version=0.2.84)](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.84"
Bump getrandom from 0.2.8 to 0.2.9 (#2792) Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.8 to 0.2.9. <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.9] - 2023-04-03</h2> <h3>Added</h3> <ul> <li>AIX support <a href="https://redirect.github.com/rust-random/getrandom/issues/282">#282</a></li> <li><code>getrandom_uninit</code> function <a href="https://redirect.github.com/rust-random/getrandom/issues/291">#291</a></li> <li><code>wasm64-unknown-unknown</code> support <a href="https://redirect.github.com/rust-random/getrandom/issues/303">#303</a></li> <li>tvOS and watchOS support <a href="https://redirect.github.com/rust-random/getrandom/issues/317">#317</a></li> <li>QNX/nto support <a href="https://redirect.github.com/rust-random/getrandom/issues/325">#325</a></li> <li>Support for <code>getrandom</code> syscall on NetBSD ≥ 10.0 <a href="https://redirect.github.com/rust-random/getrandom/issues/331">#331</a></li> <li><code>RtlGenRandom</code> fallback for non-UWP Windows <a href="https://redirect.github.com/rust-random/getrandom/issues/337">#337</a></li> </ul> <h3>Breaking Changes</h3> <ul> <li>Update MSRV to 1.36 <a href="https://redirect.github.com/rust-random/getrandom/issues/291">#291</a></li> </ul> <h3>Fixed</h3> <ul> <li>Solaris/OpenBSD/Dragonfly build <a href="https://redirect.github.com/rust-random/getrandom/issues/301">#301</a></li> </ul> <h3>Changed</h3> <ul> <li>Update MSRV to 1.36 <a href="https://redirect.github.com/rust-random/getrandom/issues/291">#291</a></li> <li>Use getentropy on Emscripten <a href="https://redirect.github.com/rust-random/getrandom/issues/307">#307</a></li> <li>Solaris: consistantly use <code>/dev/random</code> source <a href="https://redirect.github.com/rust-random/getrandom/issues/310">#310</a></li> <li>Move 3ds selection above rdrand/js/custom fallback <a href="https://redirect.github.com/rust-random/getrandom/issues/312">#312</a></li> <li>Remove buffer zeroing from Node.js implementation <a href="https://redirect.github.com/rust-random/getrandom/issues/315">#315</a></li> <li>Use <code>open</code> instead of <code>open64</code> <a href="https://redirect.github.com/rust-random/getrandom/issues/326">#326</a></li> <li>Remove #cfg from bsd_arandom.rs <a href="https://redirect.github.com/rust-random/getrandom/issues/332">#332</a></li> <li>Hermit: use <code>sys_read_entropy</code> syscall <a href="https://redirect.github.com/rust-random/getrandom/issues/333">#333</a></li> <li>Eliminate potential panic in sys_fill_exact <a href="https://redirect.github.com/rust-random/getrandom/issues/334">#334</a></li> <li>rdrand: Remove checking for 0 and !0 and instead check CPU family and do a self-test <a href="https://redirect.github.com/rust-random/getrandom/issues/335">#335</a></li> <li>Move <code>__getrandom_custom</code> definition into a const block <a href="https://redirect.github.com/rust-random/getrandom/issues/344">#344</a></li> <li>Switch the custom backend to Rust ABI <a href="https://redirect.github.com/rust-random/getrandom/issues/347">#347</a></li> </ul> <p><a href="https://redirect.github.com/rust-random/getrandom/issues/282">#282</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/282">rust-random/getrandom#282</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/291">#291</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/291">rust-random/getrandom#291</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/301">#301</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/301">rust-random/getrandom#301</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/303">#303</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/303">rust-random/getrandom#303</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/307">#307</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/307">rust-random/getrandom#307</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/310">#310</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/310">rust-random/getrandom#310</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/312">#312</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/312">rust-random/getrandom#312</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/315">#315</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/315">rust-random/getrandom#315</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/317">#317</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/317">rust-random/getrandom#317</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/325">#325</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/325">rust-random/getrandom#325</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/326">#326</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/326">rust-random/getrandom#326</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/331">#331</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/331">rust-random/getrandom#331</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/332">#332</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/332">rust-random/getrandom#332</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/333">#333</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/333">rust-random/getrandom#333</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/334">#334</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/334">rust-random/getrandom#334</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/335">#335</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/335">rust-random/getrandom#335</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/337">#337</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/337">rust-random/getrandom#337</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/344">#344</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/344">rust-random/getrandom#344</a> <a href="https://redirect.github.com/rust-random/getrandom/issues/347">#347</a>: <a href="https://redirect.github.com/rust-random/getrandom/pull/347">rust-random/getrandom#347</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rust-random/getrandom/commit/abe7ef3107a4d178618e86e403c2ea200c42bf96"><code>abe7ef3</code></a> Release v0.2.9 (<a href="https://redirect.github.com/rust-random/getrandom/issues/354">#354</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/03defac1e59234d4ea057ff28f4b30cb0c1bb944"><code>03defac</code></a> ci: use minimal permissions for Github Actions (<a href="https://redirect.github.com/rust-random/getrandom/issues/351">#351</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/8eb9c2d5a6f516628ac9f85227356622f5948ff5"><code>8eb9c2d</code></a> Merge pull request <a href="https://redirect.github.com/rust-random/getrandom/issues/350">#350</a> from rust-random/android</li> <li><a href="https://github.com/rust-random/getrandom/commit/5042b09742abcd3c1f04123f9bc0e9e2d84ab45f"><code>5042b09</code></a> Update wasm-pack</li> <li><a href="https://github.com/rust-random/getrandom/commit/6cd1a12ef2f9a9a4335c2ec66b87f4c0ef05f17e"><code>6cd1a12</code></a> Disable cross build/tests on Android</li> <li><a href="https://github.com/rust-random/getrandom/commit/41cc07a099200f85f1f1acfebf40b7139ad85745"><code>41cc07a</code></a> Switch the custom backend to Rust ABI (<a href="https://redirect.github.com/rust-random/getrandom/issues/347">#347</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/2f9989fba13f4b1e836ef1d1d614f047d0b110e6"><code>2f9989f</code></a> Move __getrandom_custom definition into a const block (<a href="https://redirect.github.com/rust-random/getrandom/issues/344">#344</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/75252bca49de715e7dd181390505cd44c491e9f3"><code>75252bc</code></a> ci: Fix the fuchsia tests (<a href="https://redirect.github.com/rust-random/getrandom/issues/343">#343</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/41b89814e332aa20e8916579f95762de784d6b4b"><code>41b8981</code></a> Allow Edge tests to fail (<a href="https://redirect.github.com/rust-random/getrandom/issues/339">#339</a>)</li> <li><a href="https://github.com/rust-random/getrandom/commit/74a2021ee1829747809dca25e7f4b3121fa31708"><code>74a2021</code></a> ci: Don't use rust-cache for Cross Build/Link (<a href="https://redirect.github.com/rust-random/getrandom/issues/338">#338</a>)</li> <li>Additional commits viewable in <a href="https://github.com/rust-random/getrandom/compare/v0.2.8...v0.2.9">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.8&new-version=0.2.9)](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.9", features = ["js"] }
chrono = { version = "0.4.24", features = ["clock", "std", "wasmbind"] }
[features]
default = ["boa_engine/annex-b"]
[lib]
crate-type = ["cdylib", "lib"]
name = "boa_wasm"
bench = false