phase2-bn254/Cargo.toml

43 lines
1.2 KiB
TOML
Raw Normal View History

2015-12-24 11:58:38 +02:00
[package]
2018-12-21 06:24:33 +03:00
authors = ["Sean Bowe <ewillbefull@gmail.com>", "Alex Vlasov <alex.m.vlasov@gmail.com>", "Alex Gluchowski <alex@gluchowski.net"]
2015-12-25 09:37:52 +02:00
description = "zk-SNARK library"
2019-03-31 09:08:33 +03:00
documentation = "https://github.com/matter-labs/bellman"
homepage = "https://github.com/matter-labs/bellman"
license = "MIT/Apache-2.0"
2019-03-31 09:08:33 +03:00
name = "bellman_ce"
repository = "https://github.com/matter-labs/bellman"
version = "0.3.0"
edition = "2018"
[lib]
crate-type = ["cdylib", "lib", "staticlib"]
2015-12-24 11:58:38 +02:00
[dependencies]
2018-02-13 18:43:35 +03:00
rand = "0.4"
bit-vec = "0.4.4"
futures = "0.1"
2019-03-24 07:47:47 +03:00
cfg-if = "0.1.7"
#pairing_ce = { path = "../pairing" }
2019-03-31 09:08:33 +03:00
pairing_ce = { version = "0.17.0" }
byteorder = "1"
futures-cpupool = {version = "0.1", optional = true}
num_cpus = {version = "1", optional = true}
crossbeam = {version = "0.7.1", optional = true}
web-sys = {version = "0.3.17", optional = true, features = ["console", "Performance", "Window"]}
2019-03-31 09:31:34 +03:00
tiny-keccak = {version = "1.4.2", optional = true}
blake2-rfc = {version = "0.2.18", optional = true}
[features]
2019-03-31 10:27:08 +03:00
#default = ["multicore"]
default = ["multicore", "sonic"]
#default = ["multicore", "gm17", "sonic"]
#default = ["wasm"]
multicore = ["futures-cpupool", "num_cpus", "crossbeam"]
2019-03-31 09:31:34 +03:00
sonic = ["tiny-keccak", "blake2-rfc"]
gm17 = []
wasm = ["web-sys"]