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"
|
2022-05-10 16:28:00 -07:00
|
|
|
version = "0.6.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"
|
2022-05-10 16:28:00 -07:00
|
|
|
categories = ["cryptography::cryptocurrencies"]
|
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-08-23 12:16:40 -07:00
|
|
|
aes = "0.7"
|
2022-05-06 13:03:49 -07:00
|
|
|
bitvec = "1"
|
2021-09-22 14:13:45 -07:00
|
|
|
bip0039 = { version = "0.9", features = ["std", "all-languages"] }
|
2021-12-17 14:22:25 -08:00
|
|
|
blake2b_simd = "1"
|
2021-12-17 14:26:13 -08:00
|
|
|
blake2s_simd = "1"
|
2022-05-06 13:03:49 -07:00
|
|
|
bls12_381 = "0.7"
|
2022-01-24 17:02:25 -08:00
|
|
|
bs58 = { version = "0.4", features = ["check"], optional = true }
|
2018-08-23 15:29:42 -07:00
|
|
|
byteorder = "1"
|
2021-08-30 07:03:39 -07:00
|
|
|
chacha20poly1305 = "0.9"
|
2020-07-09 15:24:54 -07:00
|
|
|
equihash = { version = "0.1", path = "../components/equihash" }
|
2022-05-06 13:03:49 -07:00
|
|
|
ff = "0.12"
|
2021-08-23 12:16:40 -07:00
|
|
|
fpe = "0.5"
|
2022-05-06 13:03:49 -07:00
|
|
|
group = "0.12"
|
2022-05-10 16:00:43 -07:00
|
|
|
hdwallet = { version = "0.3.1", optional = true }
|
2020-06-25 03:23:42 -07:00
|
|
|
hex = "0.4"
|
2022-05-10 16:06:31 -07:00
|
|
|
incrementalmerkletree = "0.3"
|
2022-05-06 13:03:49 -07:00
|
|
|
jubjub = "0.9"
|
2018-08-23 15:35:39 -07:00
|
|
|
lazy_static = "1"
|
2021-09-14 12:45:47 -07:00
|
|
|
memuse = "0.2"
|
2021-06-17 06:57:10 -07:00
|
|
|
nonempty = "0.7"
|
2022-05-10 16:06:31 -07:00
|
|
|
orchard = "0.1"
|
2021-05-11 08:57:28 -07:00
|
|
|
proptest = { version = "1.0.0", optional = true }
|
2021-01-26 14:48:11 -08:00
|
|
|
rand = "0.8"
|
|
|
|
rand_core = "0.6"
|
2022-01-31 15:24:03 -08:00
|
|
|
ripemd = { version = "0.1", optional = true }
|
2022-03-21 10:24:31 -07:00
|
|
|
secp256k1 = { version = "0.21", 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"
|
2022-05-10 16:16:39 -07:00
|
|
|
zcash_encoding = { version = "0.1", path = "../components/zcash_encoding" }
|
2021-12-16 17:32:50 -08:00
|
|
|
|
|
|
|
[dependencies.zcash_note_encryption]
|
2021-12-17 07:21:09 -08:00
|
|
|
version = "0.1"
|
2021-12-16 17:32:50 -08:00
|
|
|
path = "../components/zcash_note_encryption"
|
|
|
|
features = ["pre-zip-212"]
|
2019-05-04 09:47:18 -07:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2019-12-19 14:11:11 -08:00
|
|
|
criterion = "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"
|
2022-05-10 16:06:31 -07:00
|
|
|
orchard = { version = "0.1", features = ["test-dependencies"] }
|
2019-10-07 20:07:30 -07:00
|
|
|
|
2021-08-05 14:21:56 -07:00
|
|
|
[target.'cfg(unix)'.dev-dependencies]
|
2022-05-10 16:04:48 -07:00
|
|
|
pprof = { version = "0.8", features = ["criterion", "flamegraph"] } # MSRV 1.56
|
2019-10-07 20:07:30 -07:00
|
|
|
|
2019-07-31 08:20:13 -07:00
|
|
|
[features]
|
2022-01-31 15:24:03 -08:00
|
|
|
transparent-inputs = ["bs58", "hdwallet", "ripemd", "secp256k1"]
|
2021-10-01 14:20:01 -07:00
|
|
|
test-dependencies = ["proptest", "orchard/test-dependencies"]
|
2020-09-23 09:53:48 -07:00
|
|
|
zfuture = []
|
2019-07-31 08:20:13 -07:00
|
|
|
|
2021-08-05 14:39:36 -07:00
|
|
|
[lib]
|
|
|
|
bench = false
|
|
|
|
|
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" }
|