[package] name = "cess-hashers" description = "Hashers used in CESS and their abstractions." version = "0.1.0" authors = [] license = "MIT OR Apache-2.0" edition = "2018" repository = "https://github.com/CESSProject/cess-proving-system" readme = "README.md" [dependencies] bellperson = "0.18.0" blstrs = "0.4.0" generic-array = "0.14.4" merkletree = "0.21.0" ff = "0.11.0" anyhow = "1.0.34" serde = "1.0.117" rand = "0.8.0" neptune = { version = "5.1.0", optional = true, features = ["arity2", "arity4", "arity8", "arity11", "arity16", "arity24", "arity36"] } 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 = ["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"