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.

35 lines
908 B

[package]
name = "boa_cli"
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", "cli"]
categories = ["command-line-utilities"]
license = "Unlicense/MIT"
exclude = ["../.vscode/*", "../Dockerfile", "../Makefile", "../.editorConfig"]
edition = "2021"
rust-version = "1.56"
default-run = "boa"
[dependencies]
Boa = { path = "../boa", features = ["deser", "console"] }
Bump rustyline from 9.0.0 to 9.1.0 (#1732) Bumps [rustyline](https://github.com/kkawakam/rustyline) from 9.0.0 to 9.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/kkawakam/rustyline/releases">rustyline's releases</a>.</em></p> <blockquote> <h2>9.1.0</h2> <h2>What's Changed</h2> <ul> <li>Load terminal settings for VINTR, VQUIT, VSUSP on Unix <a href="https://github-redirect.dependabot.com/kkawakam/rustyline/issues/530">#530</a> / <a href="https://github-redirect.dependabot.com/kkawakam/rustyline/issues/535">#535</a></li> <li>Fix interrupted interactive search <a href="https://github-redirect.dependabot.com/kkawakam/rustyline/issues/575">#575</a> / <a href="https://github-redirect.dependabot.com/kkawakam/rustyline/issues/576">#576</a></li> <li>Upgrade dependencies <a href="https://github-redirect.dependabot.com/kkawakam/rustyline/issues/568">#568</a></li> <li>Migrate to 2021 edition <a href="https://github-redirect.dependabot.com/kkawakam/rustyline/issues/575">#575</a> / <a href="https://github-redirect.dependabot.com/kkawakam/rustyline/issues/570">#570</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/kkawakam/rustyline/compare/v9.0.0...v9.1.0">https://github.com/kkawakam/rustyline/compare/v9.0.0...v9.1.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/kkawakam/rustyline/commit/1a4188b7eff7811424de8c9c5c14629e75c0a00c"><code>1a4188b</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/kkawakam/rustyline/issues/578">#578</a> from gwenn/9.1.0</li> <li><a href="https://github.com/kkawakam/rustyline/commit/4833aa5ec587c4e4234855fe16244eec3fa2a075"><code>4833aa5</code></a> Prepare release 9.1.0</li> <li><a href="https://github.com/kkawakam/rustyline/commit/957aea537ba132ec23b6c5f3eadf7ebe30df909f"><code>957aea5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/kkawakam/rustyline/issues/571">#571</a> from gwenn/misc</li> <li><a href="https://github.com/kkawakam/rustyline/commit/96a5c1cffad9738cd368191adeb5e7f29f9e9c7d"><code>96a5c1c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/kkawakam/rustyline/issues/577">#577</a> from gwenn/var</li> <li><a href="https://github.com/kkawakam/rustyline/commit/ecf039cd77ba39d4d9ba0476ac4ecfa6e96ebea5"><code>ecf039c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/kkawakam/rustyline/issues/576">#576</a> from gwenn/edit_move_to_end</li> <li><a href="https://github.com/kkawakam/rustyline/commit/ff5e526fc1e88d38a315961aa6fc5da5b7af33ce"><code>ff5e526</code></a> Fix key_map initial capacity</li> <li><a href="https://github.com/kkawakam/rustyline/commit/cbac6bd278b5d101f3be9990ea0a0acfb50091d4"><code>cbac6bd</code></a> Rename edit_move_to_end to move_cursor_to_end</li> <li><a href="https://github.com/kkawakam/rustyline/commit/f2cf63805db83562b4b6b2cb88656793dec291d5"><code>f2cf638</code></a> Fix interrupted interactive search</li> <li><a href="https://github.com/kkawakam/rustyline/commit/c648126b830ea95ccf19594850a7b79abb22adf1"><code>c648126</code></a> Misc</li> <li><a href="https://github.com/kkawakam/rustyline/commit/f023b1d270f6d185e39c8d0a39053a4919d7aec9"><code>f023b1d</code></a> Remove redundant is_some() check</li> <li>Additional commits viewable in <a href="https://github.com/kkawakam/rustyline/compare/v9.0.0...v9.1.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rustyline&package-manager=cargo&previous-version=9.0.0&new-version=9.1.0)](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
rustyline = "9.1.0"
rustyline-derive = "0.6.0"
structopt = "0.3.25"
Bump serde_json from 1.0.71 to 1.0.72 (#1722) Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.71 to 1.0.72. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p> <blockquote> <h2>v1.0.72</h2> <ul> <li>Interpret <code>\u</code>-encoded lone surrogates when deserializing into a byte string (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/828">#828</a>, <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/829">#829</a>, thanks <a href="https://github.com/lucacasonato"><code>@​lucacasonato</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/serde-rs/json/commit/76e376c8d1f30dcfdfcdde486b3ae9102c793841"><code>76e376c</code></a> Release 1.0.72</li> <li><a href="https://github.com/serde-rs/json/commit/77915ebaa617dc57ef376560f3472a06b01c62e0"><code>77915eb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/829">#829</a> from serde-rs/surrogate</li> <li><a href="https://github.com/serde-rs/json/commit/265fb7ee40d8ef25cb05acc9dc4735621cb1341e"><code>265fb7e</code></a> Move discard of expected byte immediately after peek</li> <li><a href="https://github.com/serde-rs/json/commit/142207623acd222a650511df39ffbcc75ad87a42"><code>1422076</code></a> Rearrange the early return on lone or encoded surrogate</li> <li><a href="https://github.com/serde-rs/json/commit/311f185d8e5d3c37ed284c692d0b2e493c38fb33"><code>311f185</code></a> Use binary mask to line up visually with the bits being |'d in</li> <li><a href="https://github.com/serde-rs/json/commit/11d3464f1cd9e48aabb3630773a03da845838c7a"><code>11d3464</code></a> Extract common logic of surrogate encode</li> <li><a href="https://github.com/serde-rs/json/commit/cb4a2517b2a8b20449fe0923a9fb9133bacc1b4e"><code>cb4a251</code></a> Document why the parse_escape recursion is not dangerous</li> <li><a href="https://github.com/serde-rs/json/commit/7911e704a0fb762ddda89951f01f02457074ca02"><code>7911e70</code></a> Tail recurse on parse_escape</li> <li><a href="https://github.com/serde-rs/json/commit/48dad22b3f2cfc1c4c8dd19976cbe088da932eb4"><code>48dad22</code></a> Collapse surrogate encode into extend_from_slice call</li> <li><a href="https://github.com/serde-rs/json/commit/683832a3434a04ee097e04cf4aed1eec5c9a0b67"><code>683832a</code></a> Touch up doc changes from PR 828</li> <li>Additional commits viewable in <a href="https://github.com/serde-rs/json/compare/v1.0.71...v1.0.72">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_json&package-manager=cargo&previous-version=1.0.71&new-version=1.0.72)](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
serde_json = "1.0.72"
colored = "2.0.0"
regex = "1.5.4"
lazy_static = "1.4.0"
[features]
vm = ["Boa/vm"]
[target.x86_64-unknown-linux-gnu.dependencies]
jemallocator = "0.3.2"
[[bin]]
name = "boa"
5 years ago
doc = false
path = "src/main.rs"