phase2-bn254/phase2/Cargo.toml

44 lines
1.3 KiB
TOML
Raw Normal View History

2018-04-04 04:03:34 +03:00
[package]
name = "phase2"
2018-04-13 07:28:02 +03:00
version = "0.2.2"
2018-04-04 04:03:34 +03:00
authors = ["Sean Bowe <ewillbefull@gmail.com>"]
2018-04-09 00:17:22 +03:00
description = "Library for performing MPCs for creating zk-SNARK public parameters"
documentation = "https://docs.rs/phase2"
2018-04-04 04:03:34 +03:00
homepage = "https://github.com/ebfull/phase2"
license = "MIT/Apache-2.0"
repository = "https://github.com/ebfull/phase2"
2020-01-13 09:10:00 +03:00
[lib]
crate-type = ["cdylib", "lib"]
2018-04-04 04:03:34 +03:00
[dependencies]
rand = "0.4"
2018-04-05 21:59:00 +03:00
byteorder = "1"
exitcode = "1.1.2"
blake2-rfc = "0.2"
2020-04-23 12:16:56 +03:00
blake2 = "0.8.1"
2019-09-07 00:03:48 +03:00
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
2019-09-07 18:35:10 +03:00
num-bigint = "0.2.3"
num-traits = "0.2.8"
2020-04-23 12:16:56 +03:00
itertools = "0.9.0"
hex = "0.4.0"
2020-01-13 09:10:00 +03:00
cfg-if = "0.1.10"
2020-02-29 16:21:33 +03:00
reqwest = { version = "0.10", features = ["blocking", "json"] }
2020-01-13 09:10:00 +03:00
bellman_ce = { path = "../bellman", default-features = false } # active features depend on build type
# needed for native only but don't break wasm if present
num_cpus = "1"
2020-04-23 12:16:56 +03:00
crossbeam = "0.7.3"
sha2 = { version = "0.8.1", optional = true }
2020-01-13 09:10:00 +03:00
# needed for wasm only
wasm-bindgen = { version = "0.2.58", optional = true }
js-sys = { version = "0.3.35", optional = true }
web-sys = { version = "0.3.35", features = ["console"], optional = true }
console_error_panic_hook = { version = "0.1.6", optional = true }
[features]
default = ["bellman_ce/multicore", "sha2"]
2020-01-13 09:10:00 +03:00
wasm = ["wasm-bindgen", "js-sys", "web-sys", "console_error_panic_hook", "bellman_ce/wasm"]