2020-10-20 14:12:37 -07:00
|
|
|
[package]
|
2022-01-27 13:53:10 -08:00
|
|
|
name = "halo2_gadgets"
|
|
|
|
version = "0.0.0"
|
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
|
|
|
]
|
|
|
|
edition = "2018"
|
2022-01-27 13:53:10 -08:00
|
|
|
description = "[BETA] Reusable gadgets and chip implementations for Halo 2"
|
2022-01-27 15:18:48 -08:00
|
|
|
license-file = "../COPYING"
|
2022-01-27 13:53:10 -08:00
|
|
|
repository = "https://github.com/zcash/halo2"
|
2020-10-20 14:12:37 -07:00
|
|
|
readme = "README.md"
|
2022-01-27 13:53:10 -08:00
|
|
|
categories = ["cryptography"]
|
2021-12-17 14:10:35 -08:00
|
|
|
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
|
2022-01-27 15:18:48 -08:00
|
|
|
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-05-03 08:55:37 -07:00
|
|
|
arrayvec = "0.7.0"
|
2021-06-13 06:06:34 -07:00
|
|
|
bigint = "4"
|
2021-06-04 12:38:28 -07:00
|
|
|
bitvec = "0.22"
|
2021-09-06 12:18:18 -07:00
|
|
|
ff = "0.11"
|
|
|
|
group = "0.11"
|
2022-01-27 15:28:02 -08:00
|
|
|
halo2_proofs = { version = "=0.1.0-beta.1", path = "../halo2_proofs" }
|
2021-06-08 00:27:08 -07:00
|
|
|
lazy_static = "1"
|
2022-01-27 15:18:48 -08:00
|
|
|
pasta_curves = "0.3"
|
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"
|
2021-03-05 15:25:45 -08:00
|
|
|
subtle = "2.3"
|
|
|
|
|
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"
|
2021-04-27 12:56:36 -07:00
|
|
|
proptest = "1.0.0"
|
2020-10-20 15:18:25 -07:00
|
|
|
|
2021-06-16 06:46:17 -07:00
|
|
|
[target.'cfg(unix)'.dev-dependencies]
|
2022-01-04 23:36:45 -08:00
|
|
|
pprof = { version = "=0.6.1", features = ["criterion", "flamegraph"] }
|
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-27 15:28:02 -08:00
|
|
|
dev-graph = ["halo2_proofs/dev-graph", "plotters"]
|
2021-04-27 06:49:49 -07:00
|
|
|
test-dependencies = ["proptest"]
|
2022-01-27 15:18:48 -08:00
|
|
|
unstable = []
|
2021-04-27 06:49:49 -07:00
|
|
|
|
2021-08-10 04:45:23 -07:00
|
|
|
[[bench]]
|
|
|
|
name = "primitives"
|
|
|
|
harness = false
|
|
|
|
|
2021-11-03 18:07:28 -07:00
|
|
|
[[bench]]
|
|
|
|
name = "poseidon"
|
|
|
|
harness = false
|
|
|
|
|
2022-01-27 15:18:48 -08:00
|
|
|
[[bench]]
|
|
|
|
name = "sha256"
|
|
|
|
harness = false
|
|
|
|
required-features = ["unstable"]
|