45 lines
1.3 KiB
TOML
45 lines
1.3 KiB
TOML
[package]
|
|
authors = ["Sean Bowe <ewillbefull@gmail.com>", "Alex Vlasov <alex.m.vlasov@gmail.com>", "Alex Gluchowski <alex@gluchowski.net"]
|
|
description = "zk-SNARK library"
|
|
documentation = "https://github.com/matter-labs/bellman"
|
|
homepage = "https://github.com/matter-labs/bellman"
|
|
license = "MIT/Apache-2.0"
|
|
name = "bellman_ce"
|
|
repository = "https://github.com/matter-labs/bellman"
|
|
version = "0.3.1"
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "lib", "staticlib"]
|
|
|
|
[dependencies]
|
|
rand = "0.4"
|
|
bit-vec = "0.6.1"
|
|
futures = "0.1"
|
|
cfg-if = "0.1.7"
|
|
|
|
pairing = {package = "pairing_ce", path = "../pairing" }
|
|
#pairing = {package = "pairing_ce", version = "0.18.0" }
|
|
byteorder = "1"
|
|
|
|
futures-cpupool = {version = "0.1", optional = true}
|
|
num_cpus = {version = "1", optional = true}
|
|
crossbeam = {version = "0.7.1", optional = true}
|
|
|
|
prefetch = {version = "0.2", optional = true}
|
|
|
|
web-sys = {version = "0.3.17", optional = true, features = ["console", "Performance", "Window"]}
|
|
|
|
tiny-keccak = {version = "2.0.2", optional = true}
|
|
blake2-rfc = {version = "0.2.18", optional = true}
|
|
|
|
[features]
|
|
default = ["multicore"]
|
|
#default = ["multicore", "nightly"]
|
|
#default = ["wasm"]
|
|
multicore = ["futures-cpupool", "num_cpus", "crossbeam"]
|
|
sonic = ["tiny-keccak", "blake2-rfc"]
|
|
gm17 = []
|
|
wasm = ["web-sys"]
|
|
nightly = ["prefetch"]
|