# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "cess-hashers" version = "0.1.0" authors = [] description = "Hashers used in CESS and their abstractions." readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/CESSProject/cess-proving-system" [dependencies.anyhow] version = "1.0.34" [dependencies.bellperson] version = "0.18.0" [dependencies.blake2s_simd] version = "0.5.11" optional = true [dependencies.blstrs] version = "0.4.0" [dependencies.ff] version = "0.11.0" [dependencies.generic-array] version = "0.14.4" [dependencies.hex] version = "0.4.2" [dependencies.lazy_static] version = "1.4.0" optional = true [dependencies.merkletree] version = "0.21.0" [dependencies.neptune] version = "5.1.0" features = ["arity2", "arity4", "arity8", "arity11", "arity16", "arity24", "arity36"] optional = true [dependencies.rand] version = "0.8.0" [dependencies.serde] version = "1.0.117" [dependencies.sha2] version = "0.9.2" optional = true [dev-dependencies.rand_xorshift] version = "0.3.0" [dev-dependencies.serde_json] version = "1.0.59" [features] blake2s = ["blake2s_simd"] cuda = ["bellperson/cuda", "neptune/cuda"] default = ["opencl", "blake2s", "poseidon", "sha256"] opencl = ["bellperson/opencl", "neptune/opencl"] poseidon = ["neptune", "lazy_static"] sha256 = ["sha2"]