2018-08-23 15:15:22 -07:00
|
|
|
[package]
|
|
|
|
name = "zcash_primitives"
|
2019-10-07 20:07:30 -07:00
|
|
|
description = "Rust implementations of the Zcash primitives"
|
2021-03-25 22:50:56 -07:00
|
|
|
version = "0.5.0"
|
2018-08-23 15:15:22 -07:00
|
|
|
authors = [
|
|
|
|
"Jack Grigg <jack@z.cash>",
|
2021-04-08 09:12:47 -07:00
|
|
|
"Kris Nuttycombe <kris@electriccoin.co>"
|
2018-08-23 15:15:22 -07:00
|
|
|
]
|
2019-10-07 20:07: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:07:30 -07:00
|
|
|
license = "MIT OR Apache-2.0"
|
2019-08-20 17:31:20 -07:00
|
|
|
edition = "2018"
|
2018-08-23 15:15:22 -07:00
|
|
|
|
2020-08-22 22:56:03 -07:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
|
2018-08-23 15:15:22 -07:00
|
|
|
[dependencies]
|
2021-01-27 12:44:34 -08:00
|
|
|
aes = "0.6"
|
2021-01-26 14:50:24 -08:00
|
|
|
bitvec = "0.20"
|
2019-06-04 05:15:12 -07:00
|
|
|
blake2b_simd = "0.5"
|
2019-08-06 02:46:40 -07:00
|
|
|
blake2s_simd = "0.5"
|
2021-01-26 14:48:11 -08:00
|
|
|
bls12_381 = "0.4"
|
2018-08-23 15:29:42 -07:00
|
|
|
byteorder = "1"
|
2020-06-25 04:50:39 -07:00
|
|
|
crypto_api_chachapoly = "0.4"
|
2020-07-09 15:24:54 -07:00
|
|
|
equihash = { version = "0.1", path = "../components/equihash" }
|
2021-01-26 14:48:11 -08:00
|
|
|
ff = "0.9"
|
2021-01-27 12:44:34 -08:00
|
|
|
fpe = "0.4"
|
2021-01-26 14:48:11 -08:00
|
|
|
group = "0.9"
|
2020-06-25 03:23:42 -07:00
|
|
|
hex = "0.4"
|
2021-01-26 14:48:11 -08:00
|
|
|
jubjub = "0.6"
|
2018-08-23 15:35:39 -07:00
|
|
|
lazy_static = "1"
|
2019-08-18 15:56:15 -07:00
|
|
|
log = "0.4"
|
2021-05-11 08:57:28 -07:00
|
|
|
nonempty = "0.6"
|
|
|
|
orchard = { git = "https://github.com/zcash/orchard", branch = "main" }
|
|
|
|
proptest = { version = "1.0.0", optional = true }
|
2021-01-26 14:48:11 -08:00
|
|
|
rand = "0.8"
|
|
|
|
rand_core = "0.6"
|
2020-06-25 03:14:10 -07:00
|
|
|
ripemd160 = { version = "0.9", optional = true }
|
2021-01-26 14:56:41 -08:00
|
|
|
secp256k1 = { version = "0.20", optional = true }
|
2020-06-25 03:14:10 -07:00
|
|
|
sha2 = "0.9"
|
2020-06-23 09:27:36 -07:00
|
|
|
subtle = "2.2.3"
|
2021-03-22 13:59:25 -07:00
|
|
|
zcash_note_encryption = { version = "0.0", path = "../components/zcash_note_encryption" }
|
2019-05-04 09:47:18 -07:00
|
|
|
|
2021-02-22 11:15:37 -08:00
|
|
|
# Temporary workaround for https://github.com/myrrlyn/funty/issues/3
|
|
|
|
funty = "=1.1.0"
|
|
|
|
|
2021-05-11 08:57:28 -07:00
|
|
|
[dependencies.pasta_curves]
|
|
|
|
git = "https://github.com/zcash/pasta_curves.git"
|
|
|
|
rev = "b55a6960dfafd7f767e2820ddf1adaa499322f98"
|
|
|
|
|
2019-05-04 09:47:18 -07:00
|
|
|
[dev-dependencies]
|
2019-12-19 14:11:11 -08:00
|
|
|
criterion = "0.3"
|
2021-01-26 14:58:03 -08:00
|
|
|
hex-literal = "0.3"
|
2021-05-11 08:57:28 -07:00
|
|
|
proptest = "1.0.0"
|
2021-01-26 14:48:11 -08:00
|
|
|
rand_xorshift = "0.3"
|
2021-05-11 08:57:28 -07:00
|
|
|
orchard = { git = "https://github.com/zcash/orchard", branch = "main", features = ["test-dependencies"] }
|
2019-10-07 20:07:30 -07:00
|
|
|
|
2019-07-31 08:20:13 -07:00
|
|
|
[features]
|
|
|
|
transparent-inputs = ["ripemd160", "secp256k1"]
|
2020-10-15 06:03:40 -07:00
|
|
|
test-dependencies = ["proptest"]
|
2020-09-23 09:53:48 -07:00
|
|
|
zfuture = []
|
2019-07-31 08:20:13 -07:00
|
|
|
|
2020-09-09 14:25:56 -07:00
|
|
|
[[bench]]
|
|
|
|
name = "note_decryption"
|
|
|
|
harness = false
|
|
|
|
|
2019-12-19 14:11:11 -08:00
|
|
|
[[bench]]
|
|
|
|
name = "pedersen_hash"
|
|
|
|
harness = false
|
|
|
|
|
2019-10-07 20:07:30 -07:00
|
|
|
[badges]
|
|
|
|
maintenance = { status = "actively-developed" }
|