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.

57 lines
1.4 KiB

[package]
name = "Boa"
4 years ago
version = "0.9.0"
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."
repository = "https://github.com/boa-dev/boa"
keywords = ["javascript", "compiler", "lexer", "parser", "js"]
categories = ["parser-implementations", "wasm"]
license = "Unlicense/MIT"
exclude = ["../.vscode/*", "../Dockerfile", "../Makefile", "../.editorConfig"]
edition = "2018"
[features]
profiler = ["measureme", "once_cell"]
[dependencies]
gc = { version = "0.3.6", features = ["derive"] }
serde_json = "1.0.57"
rand = "0.7.3"
num-traits = "0.2.12"
regex = "1.3.9"
rustc-hash = "1.1.0"
num-bigint = { version = "0.3.0", features = ["serde"] }
num-integer = "0.1.43"
bitflags = "1.2.1"
indexmap = "1.5.1"
ryu-js = "0.2.0"
chrono = "0.4.15"
# Optional Dependencies
serde = { version = "1.0.115", features = ["derive"], optional = true }
measureme = { version = "0.7.1", optional = true }
once_cell = { version = "1.4.1", optional = true }
[dev-dependencies]
criterion = "=0.3.2"
[target.x86_64-unknown-linux-gnu.dev-dependencies]
jemallocator = "0.3.2"
[lib]
crate-type = ["cdylib", "lib"]
name = "boa"
bench = false
[[bench]]
name = "parser"
harness = false
[[bench]]
name = "exec"
harness = false
[[bench]]
name = "full"
harness = false