forked from filecoin-project/rust-fil-proofs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
40 lines (34 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
[package]
name = "filecoin-hashers"
description = "Hashers used in filecoin and their abstractions."
version = "11.1.0"
authors = ["dignifiedquire <[email protected]>", "porcuquine <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2018"
repository = "https://github.com/filecoin-project/rust-fil-proofs"
readme = "README.md"
[dependencies]
bellperson = "0.26.0"
blstrs = "0.7.0"
generic-array = "0.14.4"
merkletree = "0.23.0"
ff = "0.13.0"
anyhow = "1.0.34"
serde = "1.0.117"
rand = "0.8.0"
neptune = { version = "11.0.0", optional = true, features = ["bls", "arity2", "arity4", "arity8", "arity11", "arity16", "arity24", "arity36"] }
lazy_static = { version = "1.4.0", optional = true }
blake2s_simd = { version = "1.0.0", optional = true }
sha2 = { version = "0.10.2", optional = true }
hex = "0.4.2"
[features]
default = ["opencl", "blake2s", "poseidon", "sha256"]
cuda = ["bellperson/cuda", "neptune/cuda"]
opencl = ["bellperson/opencl", "neptune/opencl"]
# available hashers
blake2s = ["blake2s_simd"]
poseidon = ["neptune", "lazy_static"]
sha256 = ["sha2"]
[dev-dependencies]
rand_xorshift = "0.3.0"
serde_json = "1.0.59"