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.

62 lines
1.2 KiB

6 years ago
[package]
name = "Boa"
5 years ago
version = "0.5.1"
6 years ago
authors = ["Jason Williams <jase.williams@gmail.com>"]
description = "Boa is a Javascript lexer, parser and Just-in-Time compiler written in Rust. Currently, it has support for some of the language."
homepage = "https://github.com/jasonwilliams/boa"
repository = "https://github.com/jasonwilliams/boa"
keywords = ["javascript", "compiler", "lexer", "parser", "js"]
license = "Unlicense/MIT"
6 years ago
exclude = [".vscode/*", "Dockerfile", "Makefile", ".editorConfig"]
edition = "2018"
default-run = "boa"
6 years ago
[features]
default = ["wasm-bindgen"]
6 years ago
[dependencies]
5 years ago
gc = "^0.3.3"
gc_derive = "^0.3.2"
serde_json = "^1.0.40"
rand = "^0.7.0"
regex = "^1.3.0"
structopt = "0.3.2"
# Optional Dependencies
5 years ago
wasm-bindgen = { version = "^0.2.50", optional = true }
6 years ago
[dev-dependencies]
5 years ago
criterion = "^0.3.0"
[lib]
crate-type = ["cdylib", "lib"]
6 years ago
name = "boa"
path = "src/lib/lib.rs"
bench = false
[[bench]]
name = "string"
harness = false
[[bench]]
name = "fib"
harness = false
[[bench]]
name = "exec"
harness = false
[[bench]]
name = "parser"
harness = false
[[bin]]
name = "boa"
path = "src/bin/bin.rs"
bench = false
[[bin]]
name = "boashell"
path = "src/bin/shell.rs"
bench = false