-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo-old.toml
46 lines (40 loc) · 1.18 KB
/
Cargo-old.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
[package]
name ="wasm-multiexp-bench"
version="0.1.0"
authors=["Piotr Roslaniec <p.roslaniec@gmail.com>"]
edition="2021"
[lib]
crate-type=["cdylib", "rlib"]
[dependencies]
ark-bls12-381="0.4"
ark-ec={ version="0.4" }
ark-ff={ version="0.4" }
ark-std ={ version="0.4" }
getrandom={ version="0.2", features=["js"] }
# Pinning version to fix "using deprecated parameters for the initialization function; pass a single object instead" warning
wasm-bindgen ={ version="=0.2.92", features=["serde-serialize"] }
web-time ="1.1.0"
serde ={ version="1.0.210", features=["derive"] }
wasm-bindgen-rayon={ version="1.2.1", optional=true }
rayon ={ version="1.10.0", optional=true }
serde-wasm-bindgen = "0.6.5"
[dev-dependencies]
wasm-bindgen-test="0.3"
[features]
default=[]
multithreading=[
"rayon",
"ark-ec/parallel",
"ark-ff/parallel",
"ark-std/parallel",
"wasm-bindgen-rayon",
]
# Enable when parsing WASM traces
# See: https://github.com/rustwasm/wasm-pack/issues/797
#[package.metadata.wasm-pack.profile.release]
#wasm-opt = ['-O4', '-g']
# Fixes wasm-bindgen-cli error:
# "too many locals: locals exceed maximum"
[profile.dev]
opt-level =1
incremental=true