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.

46 lines
1021 B

6 years ago
[package]
name = "Boa"
5 years ago
version = "0.3.0"
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"
# 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]]
name = "string"
harness = false
[[bin]]
name = "boa"
path = "src/bin/bin.rs"
[[bin]]
name = "boashell"
path = "src/bin/shell.rs"