-
Notifications
You must be signed in to change notification settings - Fork 317
/
Cargo.toml
40 lines (35 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 = "13.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]
# Sorted alphabetically
anyhow.workspace = true
bellperson.workspace = true
blake2s_simd = { workspace = true, optional = true }
blstrs.workspace = true
ff.workspace = true
generic-array.workspace = true
hex.workspace = true
lazy_static = { workspace = true, optional = true }
merkletree.workspace = true
neptune = { workspace = true, optional = true }
rand.workspace = true
serde.workspace = true
sha2 = { workspace = true, optional = true }
[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.workspace = true
serde_json.workspace = true