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-08-23 12:16:40 -07:00
|
|
|
aes = "0.7"
|
2021-06-04 13:51:04 -07:00
|
|
|
bitvec = "0.22"
|
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"
|
2021-09-09 09:45:50 -07:00
|
|
|
bls12_381 = "0.6"
|
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" }
|
2021-09-09 09:45:50 -07:00
|
|
|
ff = "0.11"
|
2021-08-23 12:16:40 -07:00
|
|
|
fpe = "0.5"
|
2021-09-09 09:45:50 -07:00
|
|
|
group = "0.11"
|
2022-01-21 00:27:17 -08:00
|
|
|
hdwallet = { version = "0.3.0", optional = true }
|
2020-06-25 03:23:42 -07:00
|
|
|
hex = "0.4"
|
2021-12-17 15:46:00 -08:00
|
|
|
incrementalmerkletree = "0.2"
|
2021-09-09 09:45:50 -07:00
|
|
|
jubjub = "0.8"
|
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"
|
2021-12-17 14:22:25 -08:00
|
|
|
orchard = "=0.1.0-beta.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"
|
2020-06-25 03:14:10 -07:00
|
|
|
ripemd160 = { version = "0.9", optional = true }
|
2022-01-22 21:19:25 -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"
|
2022-01-13 21:01:04 -08:00
|
|
|
zcash_address = { version = "0.0", path = "../components/zcash_address" }
|
2021-08-30 09:42:05 -07:00
|
|
|
zcash_encoding = { version = "0.0", 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"
|
2021-12-17 14:22:25 -08:00
|
|
|
orchard = { version = "=0.1.0-beta.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-01-04 09:22:38 -08:00
|
|
|
pprof = { version = "=0.6.1", features = ["criterion", "flamegraph"] }
|
2019-10-07 20:07:30 -07:00
|
|
|
|
2019-07-31 08:20:13 -07:00
|
|
|
[features]
|
2022-01-22 21:19:25 -08:00
|
|
|
transparent-inputs = ["ripemd160", "hdwallet", "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" }
|