# 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 are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "neptune"
version = "8.0.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"
resolver = "2"

[profile.bench]
codegen-units = 1
incremental = false

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

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

[dependencies.bellperson]
version = "0.24"
default-features = false

[dependencies.blake2s_simd]
version = "0.5"

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

[dependencies.byteorder]
version = "1"

[dependencies.ec-gpu]
version = "0.2.0"
optional = true

[dependencies.ec-gpu-gen]
version = "0.5.0"
optional = true

[dependencies.ff]
version = "0.12.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.pasta_curves]
version = "0.5.1"
package = "fil_pasta_curves"

[dependencies.trait-set]
version = "0.3.0"

[dev-dependencies.blstrs]
version = "0.6.1"

[dev-dependencies.criterion]
version = "0.3"

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

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

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

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

[build-dependencies.blstrs]
version = "0.6.1"

[build-dependencies.ec-gpu]
version = "0.2.0"
optional = true

[build-dependencies.ec-gpu-gen]
version = "0.5.0"
optional = true

[build-dependencies.pasta_curves]
version = "0.5.1"
package = "fil_pasta_curves"

[features]
arity11 = []
arity16 = []
arity2 = []
arity24 = []
arity36 = []
arity4 = []
arity8 = []
bls = ["blstrs/gpu"]
cuda = [
    "ec-gpu-gen/cuda",
    "ec-gpu",
    "pasta_curves/gpu",
]
default = ["bellperson/default"]
opencl = [
    "ec-gpu-gen/opencl",
    "ec-gpu",
    "pasta_curves/gpu",
]
pasta = ["pasta_curves/gpu"]
strengthened = []
