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"
|
2018-12-08 00:31:26 +03:00
|
|
|
documentation = "https://github.com/matterinc/bellman"
|
|
|
|
homepage = "https://github.com/matterinc/bellman"
|
2016-01-12 23:14:06 +02:00
|
|
|
license = "MIT/Apache-2.0"
|
2015-12-25 09:37:52 +02:00
|
|
|
name = "bellman"
|
2018-12-08 00:31:26 +03:00
|
|
|
repository = "https://github.com/matterinc/bellman"
|
2019-03-04 23:04:39 +03:00
|
|
|
version = "0.2.0"
|
|
|
|
edition = "2018"
|
2019-01-23 21:02:11 +03:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
crate-type = ["cdylib", "lib", "staticlib"]
|
2015-12-24 11:58:38 +02:00
|
|
|
|
2015-12-25 14:52:14 +02:00
|
|
|
[dependencies]
|
2018-02-13 18:43:35 +03:00
|
|
|
rand = "0.4"
|
2017-08-07 22:36:52 +03:00
|
|
|
bit-vec = "0.4.4"
|
|
|
|
futures = "0.1"
|
2019-03-24 07:47:47 +03:00
|
|
|
cfg-if = "0.1.7"
|
2019-03-04 23:04:39 +03:00
|
|
|
|
2019-03-05 11:58:59 +03:00
|
|
|
pairing = { git = 'https://github.com/matterinc/pairing', tag = "0.16.2" }
|
|
|
|
#pairing = { path = "../pairing" }
|
2018-03-05 03:49:05 +03:00
|
|
|
byteorder = "1"
|
2017-08-07 22:36:52 +03:00
|
|
|
|
2019-03-04 23:04:39 +03:00
|
|
|
futures-cpupool = {version = "0.1", optional = true}
|
|
|
|
num_cpus = {version = "1", optional = true}
|
|
|
|
crossbeam = {version = "0.7.1", optional = true}
|
|
|
|
|
|
|
|
tiny-keccak = {version = "1.4.2", optional = true}
|
2019-03-24 09:28:54 +03:00
|
|
|
web-sys = {version = "0.3.17", optional = true, features = ["console", "Performance", "Window"]}
|
2019-02-05 17:23:26 +03:00
|
|
|
|
|
|
|
[dependencies.blake2-rfc]
|
|
|
|
git = "https://github.com/gtank/blake2-rfc"
|
|
|
|
rev = "7a5b5fc99ae483a0043db7547fb79a6fa44b88a9"
|
|
|
|
|
2017-08-07 22:36:52 +03:00
|
|
|
[features]
|
2019-03-05 12:26:28 +03:00
|
|
|
default = ["multicore"]
|
|
|
|
#default = ["multicore", "gm17", "sonic"]
|
2019-03-24 09:28:54 +03:00
|
|
|
#default = ["wasm"]
|
2019-03-04 23:04:39 +03:00
|
|
|
multicore = ["futures-cpupool", "num_cpus", "crossbeam"]
|
|
|
|
sonic = ["tiny-keccak"]
|
|
|
|
gm17 = []
|
2019-03-24 09:28:54 +03:00
|
|
|
wasm = ["web-sys"]
|