# 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 = "neptune"
version = "2.6.0"
authors = ["porcuquine <porcuquine@gmail.com>"]
description = "Poseidon hashing over BLS12-381 for Filecoin."
license = "MIT OR Apache-2.0"
repository = "https://github.com/filecoin-project/neptune"
[profile.bench]
codegen-units = 1
incremental = false

[[bench]]
name = "hash"
harness = false

[[bench]]
name = "synthesis"
harness = false
[dependencies.bellperson]
version = "0.12"
default-features = false

[dependencies.blake2s_simd]
version = "0.5"

[dependencies.blstrs]
version = "0.2.0"
optional = true

[dependencies.byteorder]
version = "1"

[dependencies.ff]
version = "0.2.1"
package = "fff"

[dependencies.ff-cl-gen]
version = "0.2.0"

[dependencies.generic-array]
version = "0.14.4"

[dependencies.itertools]
version = "0.8.0"

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.log]
version = "0.4.8"

[dependencies.rust-gpu-tools]
version = "0.3.0"
optional = true

[dependencies.triton]
version = "2.1.0"
features = ["opencl"]
optional = true
default-features = false
package = "neptune-triton"
[dev-dependencies.criterion]
version = "0.3"

[dev-dependencies.rand]
version = "0.7.0"

[dev-dependencies.rand_xorshift]
version = "0.2.0"

[dev-dependencies.serde_json]
version = "1.0.53"

[dev-dependencies.sha2]
version = "0.9"

[dev-dependencies.tempdir]
version = "0.3"
[build-dependencies.bellperson]
version = "0.12"
default-features = false

[build-dependencies.ff]
version = "0.2.1"
package = "fff"

[features]
blst = ["bellperson/blst"]
default = ["pairing"]
gpu = ["triton", "rust-gpu-tools"]
opencl = ["rust-gpu-tools"]
pairing = ["bellperson/pairing"]
