summaryrefslogtreecommitdiffstats
path: root/js/src/rust/Cargo.toml
blob: 0ea4a5c96588eb9080c52f6529d1c9324419197b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[package]
name = "jsrust"
version = "0.1.0"
authors = ["The Spidermonkey developers"]
license = "MPL-2.0"

[lib]
name = "jsrust"
crate-type = ["staticlib"]
path = "lib.rs"

[features]
moz_memory = ['mozglue-static/moz_memory']
simd-accel = ['jsrust_shared/simd-accel']
smoosh = ['jsrust_shared/smoosh']
gluesmith = ['jsrust_shared/gluesmith']
icu4x = ['jsrust_shared/icu4x']

[dependencies]
mozilla-central-workspace-hack = { version = "0.1", features = ["jsrust"], optional = true }
jsrust_shared = { path = "./shared" }
# Workaround for https://github.com/rust-lang/rust/issues/58393
mozglue-static = { path = "../../../mozglue/static/rust" }
wast = "70.0.1"