-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
63 lines (52 loc) · 1.33 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
[package]
name = "script-bench"
version = "0.1.0"
edition = "2021"
authors = ["Aleksandr Orlenko <zxteam@pm.me>"]
[lib]
name = "script_bench"
[features]
boa = ["boa_engine", "boa_gc", "boa_runtime"]
mlua_lua54 = ["mlua/lua54", "mlua/vendored"]
mlua_luau = ["mlua/luau-jit"]
rhai = ["dep:rhai", "dep:itertools", "dep:anyhow"]
rune = ["dep:rune", "dep:anyhow"]
[dependencies]
rand = "0.8"
anyhow = { version = "1.0", optional = true }
itertools = { version = "0.13", optional = true }
boa_engine = { version = "0.19.1", optional = true }
boa_gc = { version = "0.19.1", optional = true }
boa_runtime = { version = "0.19.1", optional = true }
mlua = { version = "0.10.0", optional = true }
rhai = { version = "1.19.0", optional = true }
rquickjs = { version = "0.6.2", optional = true }
rune = { version = "0.13.4", optional = true }
[dev-dependencies]
criterion = { version = "0.5" }
[profile.bench]
lto = true
[[bench]]
name = "boa"
harness = false
required-features = ["boa"]
[[bench]]
name = "mlua_lua54"
harness = false
required-features = ["mlua_lua54"]
[[bench]]
name = "mlua_luau"
harness = false
required-features = ["mlua_luau"]
[[bench]]
name = "rhai"
harness = false
required-features = ["rhai"]
[[bench]]
name = "rquickjs"
harness = false
required-features = ["rquickjs"]
[[bench]]
name = "rune"
harness = false
required-features = ["rune"]