-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
46 lines (39 loc) · 1.46 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
[package]
name = "wrapper-small-pot"
version = "0.1.0"
authors = ["Nico Serrano"]
edition = "2021"
description = "Small Powers of Tau Rust code wrapper to be used in browsers for participants' contributions"
repository = "https://github.com/zkparty/wrapper-small-pot"
license = "ISC"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook"]
[dependencies]
ark-serialize = { version = "0.3" }
ark-bls12-381 = "0.3.0"
ark-ec = { version = "0.3", default-features = false }
eyre = "0.6.8"
getrandom = { version = "0.2", features = ["js"] }
hex = "0.4.3"
rayon = "1.5.3"
secrecy = "0.8.0"
serde = { version = "1", features = ["derive"] }
serde-wasm-bindgen = "0.4"
serde_json = "1.0.48"
kzg-ceremony-crypto = { git = "https://github.com/ethereum/kzg-ceremony-sequencer.git", branch = "transcript_verification", features = ["blst"]}
[target."wasm32-unknown-unknown".dependencies]
js-sys = { version = "0.3.58"}
wasm-bindgen = "0.2.74"
wasm-bindgen-rayon = { version = "1.0", features = ["no-bundler"] }
# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = { version = "0.1.7", optional = true }
[dev-dependencies]
wasm-bindgen-test = "0.3.13"
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"