phase2-bn254/phase2/Cargo.toml

43 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"
blake2 = "0.6.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"
itertools = "0.8.1"
hex = "0.4.0"
2020-01-13 09:10:00 +03:00
cfg-if = "0.1.10"
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"
crossbeam = "0.3"
2020-01-17 18:05:27 +03:00
rust-crypto = { version = "0.2", 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]
2020-01-17 18:05:27 +03:00
default = ["bellman_ce/multicore", "rust-crypto"]
2020-01-13 09:10:00 +03:00
wasm = ["wasm-bindgen", "js-sys", "web-sys", "console_error_panic_hook", "bellman_ce/wasm"]