filecoin-hashers 3.0.0

Hashers used in filecoin and their abstractions.
Documentation
[package]
name = "filecoin-hashers"
description = "Hashers used in filecoin and their abstractions."
version = "3.0.0"
authors = ["dignifiedquire <dignifiedquire@gmail.com>", "porcuquine <porcuquine@users.noreply.github.com>"]
license = "MIT OR Apache-2.0"
edition = "2018"
repository = "https://github.com/filecoin-project/rust-fil-proofs"
readme = "README.md"

[dependencies]
bellperson = { version = "0.14.0", default-features = false }
generic-array = "0.14.4"
merkletree = "0.21.0"
ff = { version = "0.3.1", package = "fff" }
anyhow = "1.0.34"
serde = "1.0.117"
rand = "0.7.3"

neptune = { version = "^3.0", default-features = false, optional = true }
lazy_static = { version = "1.4.0", optional = true }
blake2s_simd = { version = "0.5.11", optional = true }
sha2 = { version = "0.9.2", optional = true }
hex = "0.4.2"

[features]
default = ["gpu", "pairing", "blake2s", "poseidon", "sha256"]

gpu = ["bellperson/gpu", "neptune/opencl"]

pairing = ["bellperson/pairing", "neptune/pairing"]
blst = ["bellperson/blst", "neptune/blst"]

# available hashers
blake2s = ["blake2s_simd"]
poseidon = ["neptune", "lazy_static"]
sha256 = ["sha2"]

[dev-dependencies]
rand_xorshift = "0.2.0"
serde_json = "1.0.59"