# 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 = "6.2.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.20"
default-features = false

[dependencies.blake2s_simd]
version = "0.5"

[dependencies.blstrs]
version = "0.4.2"

[dependencies.byteorder]
version = "1"

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

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

[dependencies.ff]
version = "0.11.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.5.0"
optional = true
default-features = false

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

[dev-dependencies.pasta_curves]
version = "0.2.1"

[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"

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

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

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

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

[build-dependencies.execute]
version = "0.2.9"

[build-dependencies.hex]
version = "0.4"

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

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