forked from boa-dev/boa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
65 lines (54 loc) · 1.52 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[package]
name = "Boa"
version = "0.11.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"]
categories = ["parser-implementations", "wasm"]
license = "Unlicense/MIT"
exclude = ["../.vscode/*", "../Dockerfile", "../Makefile", "../.editorConfig"]
edition = "2018"
[features]
profiler = ["measureme", "once_cell"]
deser = []
# Enable Bytecode generation & execution instead of tree walking
vm = []
# Enable Boa's WHATWG console object implementation.
console = []
[dependencies]
boa_unicode = { path = "../boa_unicode" }
gc = { version = "0.3.6", features = ["derive"] }
serde = { version = "1.0.119", features = ["derive"] }
serde_json = "1.0.61"
rand = "0.8.2"
num-traits = "0.2.14"
regress = "0.2.0"
rustc-hash = "1.1.0"
num-bigint = { version = "0.4.0", features = ["serde"] }
num-integer = "0.1.44"
bitflags = "1.2.1"
indexmap = "1.6.1"
ryu-js = "0.2.1"
chrono = "0.4.19"
# Optional Dependencies
measureme = { version = "9.0.0", optional = true }
once_cell = { version = "1.5.2", optional = true }
[dev-dependencies]
criterion = "0.3.3"
float-cmp = "0.8.0"
[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