# 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" name = "decaf377" version = "0.10.1" authors = [ "Henry de Valence ", "redshiftzero ", ] description = "A prime-order group designed for use in SNARKs over BLS12-377" readme = "README.md" license = "MIT OR Apache-2.0" [profile.ci] debug-assertions = true inherits = "release" [[test]] name = "encoding" required-features = ["arkworks"] [[test]] name = "groth16_gadgets" required-features = ["r1cs"] [[test]] name = "operations" required-features = ["arkworks"] [[bench]] name = "sqrt" harness = false required-features = ["arkworks"] [dependencies.ark-bls12-377] version = "0.4" optional = true [dependencies.ark-ec] version = "0.4" optional = true [dependencies.ark-ed-on-bls12-377] version = "0.4" optional = true [dependencies.ark-ff] version = "0.4" optional = true [dependencies.ark-groth16] version = "0.4" optional = true [dependencies.ark-r1cs-std] version = "0.4" optional = true [dependencies.ark-relations] version = "0.4" optional = true [dependencies.ark-serialize] version = "0.4" optional = true [dependencies.ark-snark] version = "0.4" optional = true [dependencies.ark-std] version = "0.4" optional = true [dependencies.cfg-if] version = "1.0" [dependencies.hashbrown] version = "0.14.3" optional = true [dependencies.hex] version = "=0.4.3" default-features = false [dependencies.num-bigint] version = "0.4.4" optional = true default-features = false [dependencies.once_cell] version = "1.8" optional = true default-features = false [dependencies.rand_core] version = "0.6" default-features = false [dependencies.subtle] version = "2.5" default-features = false [dependencies.zeroize] version = "1.7" default-features = false [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.criterion] version = "0.3" features = ["html_reports"] [dev-dependencies.proptest] version = "1" [dev-dependencies.rand_chacha] version = "0.3" [dev-dependencies.rand_core] version = "0.6.3" features = ["getrandom"] [features] alloc = [ "once_cell/alloc", "zeroize/alloc", "rand_core/alloc", ] arkworks = [ "std", "ark-std", "ark-ec", "ark-ff", "ark-serialize", "ark-bls12-377", "ark-ed-on-bls12-377", "hashbrown", ] default = ["arkworks"] parallel = [ "ark-ff/parallel", "ark-ec/parallel", "ark-groth16/parallel", "ark-std/parallel", "ark-r1cs-std/parallel", ] r1cs = [ "arkworks", "ark-groth16", "ark-r1cs-std", "ark-relations", "ark-snark", ] std = [ "alloc", "zeroize/std", "once_cell/std", "num-bigint/std", "hex/std", "subtle/std", "rand_core/std", ] u32_backend = []