forked from axiom-crypto/poseidon-circuit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (41 loc) · 1.14 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "poseidon-primitives"
version = "0.1.1"
edition = "2021"
description = """
Native rust implementation of the Poseidon hash function.
This is forked from Scroll's audited Poseidon halo2 circuit implementation, but this crate does not include the circuit.
"""
license = "MIT OR Apache-2.0"
repository = "https://github.com/axiom-crypto/poseidon-circuit"
autotests = false
autobenches = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
lazy_static = "1.4.0"
thiserror = "1.0"
bitvec = "1"
log = "0.4.0"
rand_xorshift = "0.3.0"
rand = "0.8"
ff = "0.13"
[features]
default = []
# Use an implementation using fewer rows (8) per permutation.
short = []
# printout the layout of circuits for demo and some unittests
print_layout = ["halo2_proofs/dev-graph"]
legacy = []
[dev-dependencies]
rand = "0.8"
rand_chacha = "0.3.0"
plotters = "0.3"
bencher = "0.1"
subtle = "2"
halo2_proofs = { git = "https://github.com/axiom-crypto/halo2.git", package = "halo2_proofs", optional = true }
# [[bench]]
# name = "hash"
# harness = false
[profile.test]
opt-level = 3
debug-assertions = true