sapling-crypto/Cargo.toml

105 lines
2.2 KiB
TOML
Raw Normal View History

2017-11-13 00:54:13 -08:00
[package]
2017-12-06 09:10:56 -08:00
name = "sapling-crypto"
2024-03-24 18:19:30 -07:00
version = "0.1.3"
authors = [
"Sean Bowe <sean@electriccoin.co>",
"Jack Grigg <jack@electriccoin.co>",
"Kris Nuttycombe <kris@electriccoin.co>",
]
edition = "2021"
rust-version = "1.65"
description = "Cryptographic library for Zcash Sapling"
homepage = "https://github.com/zcash/sapling-crypto"
repository = "https://github.com/zcash/sapling-crypto"
license = "MIT OR Apache-2.0"
2024-01-03 10:14:06 -08:00
[package.metadata.docs.rs]
features = ["test-dependencies"]
rustdoc-args = ["--cfg", "docsrs"]
2017-11-13 00:54:13 -08:00
[dependencies]
ff = "0.13"
2023-12-11 10:20:48 -08:00
group = { version = "0.13", features = ["wnaf-memuse"] }
bls12_381 = "0.8"
jubjub = "0.10"
redjubjub = "0.7"
zcash_spec = "0.1"
# Circuits
bellman = { version = "0.14", default-features = false, features = ["groth16"] }
# CSPRNG
rand = "0.8"
rand_core = "0.6"
# Digests
blake2b_simd = "1"
blake2s_simd = "1"
2024-01-03 10:14:06 -08:00
# Documentation
document-features = "0.2"
# Encodings
byteorder = "1"
hex = "0.4"
# Logging and metrics
memuse = "0.2.1"
tracing = "0.1"
# Note Commitment Trees
bitvec = "1"
2023-12-11 10:20:48 -08:00
incrementalmerkletree = { version = "0.5", features = ["legacy-api"] }
# Note encryption
2023-12-11 10:20:48 -08:00
zcash_note_encryption = { version = "0.4", features = ["pre-zip-212"] }
# Secret management
subtle = "2.2.3"
# Static constants
lazy_static = "1"
# Test dependencies
proptest = { version = "1", optional = true }
# ZIP 32
aes = "0.8"
fpe = "0.6"
zip32 = "0.1"
[dev-dependencies]
chacha20poly1305 = "0.10"
2023-12-11 10:31:41 -08:00
criterion = "0.4"
2023-12-11 10:20:48 -08:00
incrementalmerkletree = { version = "0.5", features = ["legacy-api", "test-dependencies"] }
proptest = "1"
rand_xorshift = "0.3"
2023-12-11 10:31:41 -08:00
[target.'cfg(unix)'.dev-dependencies]
pprof = { version = "0.11", features = ["criterion", "flamegraph"] } # MSRV 1.56
[features]
default = ["multicore"]
2024-01-03 10:14:06 -08:00
## Enables multithreading support for creating proofs.
multicore = ["bellman/multicore"]
2024-01-03 10:14:06 -08:00
### A temporary feature flag that exposes granular APIs needed by `zcashd`. These APIs
### should not be relied upon and will be removed in a future release.
2023-12-14 05:19:05 -08:00
temporary-zcashd = []
2024-01-03 10:14:06 -08:00
## Exposes APIs that are useful for testing, such as `proptest` strategies.
2023-12-11 10:20:48 -08:00
test-dependencies = [
"incrementalmerkletree/test-dependencies",
2024-01-03 10:14:06 -08:00
"dep:proptest",
2023-12-11 10:20:48 -08:00
]
2023-12-11 10:34:20 -08:00
[[bench]]
name = "circuit"
harness = false
2023-12-11 10:34:20 -08:00
[[bench]]
name = "pedersen_hash"
harness = false