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"
|
2024-12-16 20:26:00 -08:00
|
|
|
version = "0.21.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"
|
2023-09-26 13:12:23 -07:00
|
|
|
repository.workspace = true
|
2019-08-02 06:57:34 -07:00
|
|
|
readme = "README.md"
|
2023-09-26 13:12:23 -07:00
|
|
|
license.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
|
|
|
categories.workspace = true
|
2018-08-23 15:15:22 -07:00
|
|
|
|
2020-08-23 02:54:32 -07:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
2024-01-04 11:03:11 -08:00
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
2020-08-23 02:54:32 -07:00
|
|
|
|
2018-08-23 15:15:22 -07:00
|
|
|
[dependencies]
|
2023-09-26 13:12:23 -07:00
|
|
|
zcash_primitives.workspace = true
|
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.)
|
2024-07-19 18:51:02 -07:00
|
|
|
bellman.workspace = true
|
2023-09-26 13:12:23 -07:00
|
|
|
bls12_381.workspace = true
|
|
|
|
group.workspace = true
|
|
|
|
jubjub.workspace = true
|
|
|
|
lazy_static.workspace = true
|
2020-06-25 17:38:40 -07:00
|
|
|
minreq = { version = "2", features = ["https"], optional = true }
|
2023-09-26 13:12:23 -07:00
|
|
|
rand_core.workspace = true
|
2023-12-12 10:46:51 -08:00
|
|
|
sapling.workspace = true
|
2023-09-26 13:12:23 -07:00
|
|
|
tracing.workspace = true
|
2022-11-01 00:23:58 -07:00
|
|
|
|
|
|
|
# Dependencies used internally:
|
|
|
|
# (Breaking upgrades to these are usually backwards-compatible, but check MSRVs.)
|
2023-09-26 13:12:23 -07:00
|
|
|
blake2b_simd.workspace = true
|
2024-01-03 12:14:41 -08:00
|
|
|
document-features.workspace = true
|
2023-06-28 09:25:57 -07:00
|
|
|
home = { version = "0.5", optional = true }
|
|
|
|
known-folders = { version = "1", optional = true }
|
2024-10-09 13:20:10 -07:00
|
|
|
redjubjub.workspace = true
|
2020-07-10 03:15:23 -07:00
|
|
|
wagyu-zcash-parameters = { version = "0.2", optional = true }
|
2023-06-28 09:25:57 -07:00
|
|
|
xdg = { version = "2.5", optional = true }
|
2019-06-12 09:36:09 -07:00
|
|
|
|
2019-08-05 14:45:12 -07:00
|
|
|
[dev-dependencies]
|
2023-09-26 13:12:23 -07:00
|
|
|
byteorder.workspace = true
|
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"]
|
2024-01-03 12:14:41 -08:00
|
|
|
|
|
|
|
## Bundles the Sapling proving parameters inside the binary, which will increase its size
|
|
|
|
## by around 50 MiB.
|
2024-01-03 11:49:36 -08:00
|
|
|
bundled-prover = ["dep:wagyu-zcash-parameters"]
|
2024-01-03 12:14:41 -08:00
|
|
|
|
|
|
|
## Enables APIs for determining the default location on the local filesystem for storing
|
|
|
|
## the Sprout and Sapling proving parameters.
|
2023-06-28 09:25:57 -07:00
|
|
|
directories = ["dep:home", "dep:known-folders", "dep:xdg"]
|
2024-01-03 12:14:41 -08:00
|
|
|
|
|
|
|
## Enables APIs for downloading the Sprout and Sapling proving parameters to the default
|
|
|
|
## location on the local filesystem.
|
2024-01-03 11:49:36 -08:00
|
|
|
download-params = ["dep:minreq", "directories"]
|
2024-01-03 12:14:41 -08:00
|
|
|
|
|
|
|
## Enables APIs for loading the Sapling proving parameters from the default location on
|
|
|
|
## the local filesystem.
|
2019-06-12 09:36:09 -07:00
|
|
|
local-prover = ["directories"]
|
2024-01-03 12:14:41 -08:00
|
|
|
|
|
|
|
## Enables multithreading support for creating proofs.
|
2023-03-20 08:31:12 -07:00
|
|
|
multicore = ["bellman/multicore", "zcash_primitives/multicore"]
|
2019-10-07 20:10:30 -07:00
|
|
|
|
2024-03-25 12:27:42 -07:00
|
|
|
## A feature used to isolate tests that are expensive to run. Test-only.
|
|
|
|
expensive-tests = []
|
|
|
|
|
2021-08-05 14:39:36 -07:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
2019-10-07 20:10:30 -07:00
|
|
|
[badges]
|
|
|
|
maintenance = { status = "actively-developed" }
|