|
|
|
[package]
|
|
|
|
name = "Boa"
|
|
|
|
version = "0.8.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.5", features = ["derive"] }
|
|
|
|
serde_json = "1.0.53"
|
|
|
|
rand = "0.7.3"
|
|
|
|
num-traits = "0.2.11"
|
|
|
|
regex = "1.3.9"
|
|
|
|
rustc-hash = "1.1.0"
|
|
|
|
num-bigint = { version = "0.2.6", features = ["serde"] }
|
|
|
|
num-integer = "0.1.42"
|
|
|
|
bitflags = "1.2.1"
|
|
|
|
|
|
|
|
# Optional Dependencies
|
|
|
|
serde = { version = "1.0.111", features = ["derive"], optional = true }
|
|
|
|
measureme = { version = "0.7.1", optional = true }
|
|
|
|
once_cell = { version = "1.4.0", 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 = "lexer"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "parser"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "exec"
|
|
|
|
harness = false
|