forked from crate-crypto/small-powers-of-tau
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
50 lines (41 loc) · 1.35 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
[package]
name = "small-pot"
version = "0.2.0"
edition = "2021"
authors = ["Kevaundray Wedderburn"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib", "lib"]
[dependencies]
rand_core = { version = "0.6.3", features = ["getrandom"] }
rand_chacha = { version = "0.3.1" }
rand = { version = "0.8.4" }
getrandom = { version = "0.2", features = ["js"] }
rayon = "1.5"
itertools = "0.10.1"
sha2 = "0.10.2"
ark-ec = { version = "0.3", default-features = false }
ark-serialize = { version = "0.3", default-features = false }
ark-poly = { version = "^0.3.0", default-features = false }
ark-ff = { version = "^0.3.0", default-features = false }
ark-bls12-381 = "^0.3.0"
ark-std = "^0.3.0"
zeroize = { version = "*", features = ["zeroize_derive"] }
# wasm
wasm-bindgen = { version = "0.2.74" }
wasm-bindgen-rayon = "1.0"
js-sys = { version = "0.3.35" }
web-sys = { version = "0.3.35", features = ["console"] }
console_error_panic_hook = { version = "0.1.6" }
[dev-dependencies]
criterion = "0.3"
[[bench]]
name = "benchmark"
harness = false
[features]
default = ["parallel", "asm"]
parallel = ["ark-ff/parallel", "ark-poly/parallel", "ark-ec/parallel"]
asm = ["ark-ff/asm"]
## wasm = ["wasm-bindgen", "js-sys", "web-sys", "console_error_panic_hook"]
[package.metadata.wasm-pack.profile.release]
wasm-opt = false