2018-08-23 15:15:22 -07:00
|
|
|
[package]
|
|
|
|
name = "zcash_proofs"
|
2019-10-07 20:10:30 -07:00
|
|
|
description = "Zcash zk-SNARK circuits and proving APIs"
|
2022-11-11 12:39:36 -08:00
|
|
|
version = "0.9.0"
|
2018-08-23 15:15:22 -07:00
|
|
|
authors = [
|
|
|
|
"Jack Grigg <jack@z.cash>",
|
|
|
|
]
|
2019-10-07 20:10:30 -07:00
|
|
|
homepage = "https://github.com/zcash/librustzcash"
|
|
|
|
repository = "https://github.com/zcash/librustzcash"
|
2019-08-02 06:57:34 -07:00
|
|
|
readme = "README.md"
|
2019-10-07 20:10:30 -07:00
|
|
|
license = "MIT OR Apache-2.0"
|
2022-09-02 10:39:21 -07:00
|
|
|
edition = "2021"
|
2023-01-19 15:48:24 -08:00
|
|
|
rust-version = "1.60"
|
2022-05-10 16:29:39 -07:00
|
|
|
categories = ["cryptography::cryptocurrencies"]
|
2018-08-23 15:15:22 -07:00
|
|
|
|
2020-08-23 02:54:32 -07:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
|
2018-08-23 15:15:22 -07:00
|
|
|
[dependencies]
|
2022-11-11 12:37:55 -08:00
|
|
|
zcash_primitives = { version = "0.9", path = "../zcash_primitives" }
|
2022-11-01 00:23:58 -07:00
|
|
|
|
|
|
|
# Dependencies exposed in a public API:
|
|
|
|
# (Breaking upgrades to these require a breaking upgrade to this crate.)
|
2022-07-04 11:44:51 -07:00
|
|
|
bellman = { version = "0.13.1", default-features = false, features = ["groth16"] }
|
2022-05-06 13:03:49 -07:00
|
|
|
bls12_381 = "0.7"
|
|
|
|
group = "0.12"
|
|
|
|
jubjub = "0.9"
|
2020-07-01 03:46:52 -07:00
|
|
|
lazy_static = "1"
|
2020-06-25 17:38:40 -07:00
|
|
|
minreq = { version = "2", features = ["https"], optional = true }
|
2021-01-26 14:48:11 -08:00
|
|
|
rand_core = "0.6"
|
2022-07-03 17:25:13 -07:00
|
|
|
tracing = "0.1"
|
2022-11-01 00:23:58 -07:00
|
|
|
|
|
|
|
# Dependencies used internally:
|
|
|
|
# (Breaking upgrades to these are usually backwards-compatible, but check MSRVs.)
|
|
|
|
blake2b_simd = "1"
|
|
|
|
directories = { version = "4", optional = true }
|
|
|
|
redjubjub = "0.5"
|
2020-07-10 03:15:23 -07:00
|
|
|
wagyu-zcash-parameters = { version = "0.2", optional = true }
|
2019-06-12 09:36:09 -07:00
|
|
|
|
2019-08-05 14:45:12 -07:00
|
|
|
[dev-dependencies]
|
2022-10-31 23:52:10 -07:00
|
|
|
byteorder = "1"
|
2023-01-19 16:03:10 -08:00
|
|
|
criterion = "0.4"
|
2021-01-26 14:48:11 -08:00
|
|
|
rand_xorshift = "0.3"
|
2019-08-05 14:45:12 -07:00
|
|
|
|
2022-05-06 20:18:59 -07:00
|
|
|
[target.'cfg(unix)'.dev-dependencies]
|
2023-01-19 16:03:10 -08:00
|
|
|
pprof = { version = "0.11", features = ["criterion", "flamegraph"] } # MSRV 1.56
|
2022-05-06 20:18:59 -07:00
|
|
|
|
2019-06-12 09:36:09 -07:00
|
|
|
[features]
|
2019-12-03 07:15:13 -08:00
|
|
|
default = ["local-prover", "multicore"]
|
2020-07-10 03:15:23 -07:00
|
|
|
bundled-prover = ["wagyu-zcash-parameters"]
|
2022-08-04 09:19:56 -07:00
|
|
|
download-params = ["minreq", "directories"]
|
2019-06-12 09:36:09 -07:00
|
|
|
local-prover = ["directories"]
|
2019-12-03 07:15:13 -08:00
|
|
|
multicore = ["bellman/multicore"]
|
2019-10-07 20:10:30 -07:00
|
|
|
|
2021-08-05 14:39:36 -07:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
2020-08-31 09:13:39 -07:00
|
|
|
[[bench]]
|
|
|
|
name = "sapling"
|
|
|
|
harness = false
|
|
|
|
required-features = ["local-prover"]
|
|
|
|
|
2020-06-25 17:48:44 -07:00
|
|
|
[[example]]
|
|
|
|
name = "get-params-path"
|
|
|
|
required-features = ["directories"]
|
|
|
|
|
2020-06-25 17:38:40 -07:00
|
|
|
[[example]]
|
|
|
|
name = "download-params"
|
|
|
|
required-features = ["download-params"]
|
|
|
|
|
2022-08-04 09:19:56 -07:00
|
|
|
[[example]]
|
|
|
|
name = "download-sprout-and-sapling-params"
|
|
|
|
required-features = ["download-params"]
|
|
|
|
|
2019-10-07 20:10:30 -07:00
|
|
|
[badges]
|
|
|
|
maintenance = { status = "actively-developed" }
|