2020-10-20 14:12:37 -07:00
|
|
|
[package]
|
2021-01-08 08:32:36 -08:00
|
|
|
name = "orchard"
|
2022-04-06 13:29:56 -07:00
|
|
|
version = "0.1.0-beta.3"
|
2020-10-20 14:12:37 -07:00
|
|
|
authors = [
|
|
|
|
"Sean Bowe <sean@electriccoin.co>",
|
2020-10-20 15:03:33 -07:00
|
|
|
"Jack Grigg <jack@electriccoin.co>",
|
2021-12-17 14:10:35 -08:00
|
|
|
"Daira Hopwood <daira@jacaranda.org>",
|
|
|
|
"Ying Tong Lai <yingtong@electriccoin.co>",
|
|
|
|
"Kris Nuttycombe <kris@electriccoin.co>",
|
2020-10-20 14:12:37 -07:00
|
|
|
]
|
2022-04-28 10:13:07 -07:00
|
|
|
edition = "2021"
|
2022-04-28 10:09:15 -07:00
|
|
|
rust-version = "1.56.1"
|
2021-12-17 14:10:35 -08:00
|
|
|
description = "[BETA] The Orchard shielded transaction protocol"
|
2021-04-26 16:41:14 -07:00
|
|
|
license-file = "LICENSE-BOSL"
|
2021-01-08 08:32:36 -08:00
|
|
|
repository = "https://github.com/zcash/orchard"
|
|
|
|
documentation = "https://docs.rs/orchard"
|
2020-10-20 14:12:37 -07:00
|
|
|
readme = "README.md"
|
2021-12-17 14:10:35 -08:00
|
|
|
categories = ["cryptography::cryptocurrencies"]
|
|
|
|
keywords = ["zcash"]
|
2020-10-20 14:12:37 -07:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2021-12-17 14:08:58 -08:00
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs", "--html-in-header", "katex-header.html"]
|
2020-10-20 15:18:25 -07:00
|
|
|
|
2020-10-20 15:18:40 -07:00
|
|
|
[dependencies]
|
2021-09-13 09:54:56 -07:00
|
|
|
aes = "0.7"
|
2022-05-05 09:47:56 -07:00
|
|
|
bitvec = "1"
|
2021-12-17 09:06:37 -08:00
|
|
|
blake2b_simd = "1"
|
2022-05-05 09:47:56 -07:00
|
|
|
ff = "0.12"
|
2021-09-13 09:54:56 -07:00
|
|
|
fpe = "0.5"
|
2022-05-05 09:47:56 -07:00
|
|
|
group = "0.12"
|
2022-04-06 04:30:39 -07:00
|
|
|
halo2_gadgets = "=0.1.0-beta.3"
|
|
|
|
halo2_proofs = "=0.1.0-beta.4"
|
2022-04-05 15:38:10 -07:00
|
|
|
hex = "0.4"
|
2021-06-08 00:27:08 -07:00
|
|
|
lazy_static = "1"
|
2021-09-14 12:40:15 -07:00
|
|
|
memuse = { version = "0.2", features = ["nonempty"] }
|
2022-05-05 09:47:56 -07:00
|
|
|
pasta_curves = "0.4"
|
2021-04-27 06:49:49 -07:00
|
|
|
proptest = { version = "1.0.0", optional = true }
|
2021-04-14 21:13:41 -07:00
|
|
|
rand = "0.8"
|
2022-01-20 07:05:10 -08:00
|
|
|
reddsa = "0.2"
|
2021-06-23 04:00:56 -07:00
|
|
|
nonempty = "0.7"
|
2021-06-17 09:57:47 -07:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2021-03-05 15:25:45 -08:00
|
|
|
subtle = "2.3"
|
2021-12-17 14:08:23 -08:00
|
|
|
zcash_note_encryption = "0.1"
|
2022-04-06 11:01:03 -07:00
|
|
|
incrementalmerkletree = "=0.3.0-beta.2"
|
2021-03-05 15:25:45 -08:00
|
|
|
|
2021-02-08 14:56:58 -08:00
|
|
|
# Developer tooling dependencies
|
|
|
|
plotters = { version = "0.3.0", optional = true }
|
|
|
|
|
2020-10-20 15:18:25 -07:00
|
|
|
[dev-dependencies]
|
|
|
|
criterion = "0.3"
|
2022-04-06 04:30:39 -07:00
|
|
|
halo2_gadgets = { version = "=0.1.0-beta.3", features = ["test-dependencies"] }
|
2021-04-27 12:56:36 -07:00
|
|
|
proptest = "1.0.0"
|
2021-12-17 14:08:23 -08:00
|
|
|
zcash_note_encryption = { version = "0.1", features = ["pre-zip-212"] }
|
2020-10-20 15:18:25 -07:00
|
|
|
|
2021-06-16 06:46:17 -07:00
|
|
|
[target.'cfg(unix)'.dev-dependencies]
|
2022-04-28 10:10:46 -07:00
|
|
|
pprof = { version = "0.8", features = ["criterion", "flamegraph"] } # MSRV 1.56
|
2021-06-16 06:46:17 -07:00
|
|
|
|
2020-10-20 15:18:25 -07:00
|
|
|
[lib]
|
|
|
|
bench = false
|
2021-03-19 22:19:51 -07:00
|
|
|
|
2021-04-27 06:49:49 -07:00
|
|
|
[features]
|
2022-01-28 07:53:03 -08:00
|
|
|
dev-graph = ["halo2_proofs/dev-graph", "plotters"]
|
2021-04-27 06:49:49 -07:00
|
|
|
test-dependencies = ["proptest"]
|
|
|
|
|
2021-08-05 17:03:03 -07:00
|
|
|
[[bench]]
|
|
|
|
name = "note_decryption"
|
|
|
|
harness = false
|
|
|
|
|
2021-03-19 22:19:51 -07:00
|
|
|
[[bench]]
|
|
|
|
name = "small"
|
|
|
|
harness = false
|
2021-06-14 15:17:15 -07:00
|
|
|
|
2021-06-16 06:46:17 -07:00
|
|
|
[[bench]]
|
|
|
|
name = "circuit"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = true
|
|
|
|
|
|
|
|
[profile.bench]
|
|
|
|
debug = true
|
2022-04-28 10:29:49 -07:00
|
|
|
|
|
|
|
[patch.crates-io]
|
2022-05-05 09:47:56 -07:00
|
|
|
halo2_gadgets = { git = "https://github.com/zcash/halo2.git", rev = "72ff677776504c288f4927a6ce8d3c273ebd588d" }
|
|
|
|
halo2_proofs = { git = "https://github.com/zcash/halo2.git", rev = "72ff677776504c288f4927a6ce8d3c273ebd588d" }
|
2022-04-26 12:31:46 -07:00
|
|
|
incrementalmerkletree = { git = "https://github.com/zcash/incrementalmerkletree.git", rev = "f23e3d89507849a24543121839eea6f40b141aff" }
|
2022-05-05 09:47:56 -07:00
|
|
|
reddsa = { git = "https://github.com/ZcashFoundation/reddsa.git", rev = "f711bfa4931a3b80b216e642a453426ceb727143" }
|