# 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 = "2021" rust-version = "1.66.1" name = "neptune" version = "13.0.0" authors = ["porcuquine "] description = "Poseidon hashing over BLS12-381 for Filecoin." readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/lurk-lab/neptune" [profile.bench] codegen-units = 1 incremental = false [[bench]] name = "hash" harness = false [[bench]] name = "synthesis" harness = false [dependencies.abomonation] version = "0.7.3" optional = true [dependencies.abomonation_derive] version = "0.1.0" optional = true package = "abomonation_derive_ng" [dependencies.bellpepper] version = "0.4.0" default-features = false [dependencies.bellpepper-core] version = "0.4.0" default-features = false [dependencies.blake2s_simd] version = "1.0.1" [dependencies.blstrs] version = "0.7.0" optional = true [dependencies.byteorder] version = "1" [dependencies.ec-gpu] version = "0.2.0" optional = true [dependencies.ec-gpu-gen] version = "0.7.0" optional = true [dependencies.ff] version = "0.13.0" [dependencies.generic-array] version = "0.14.7" [dependencies.log] version = "0.4.19" [dependencies.pasta_curves] version = "0.5" features = ["serde"] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.trait-set] version = "0.3.0" [dev-dependencies.bincode] version = "1.3.3" [dev-dependencies.blstrs] version = "0.7.0" [dev-dependencies.criterion] version = "0.4.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.rand_xorshift] version = "0.3.0" [dev-dependencies.serde_json] version = "1.0.103" [dev-dependencies.sha2] version = "0.9" [build-dependencies.blstrs] version = "0.7.0" [build-dependencies.ec-gpu] version = "0.2.0" optional = true [build-dependencies.ec-gpu-gen] version = "0.7.0" optional = true [build-dependencies.pasta_curves] version = "0.5" features = ["serde"] [features] abomonation = [ "dep:abomonation", "dep:abomonation_derive", ] arity11 = [] arity16 = [] arity2 = [] arity24 = [] arity36 = [] arity4 = [] arity8 = [] bls = ["blstrs/gpu"] cuda = [ "ec-gpu-gen/cuda", "ec-gpu", ] default = [ "bls", "pasta", ] opencl = [ "ec-gpu-gen/opencl", "ec-gpu", ] pasta = ["pasta_curves/gpu"] portable = ["blstrs/portable"] strengthened = []