# 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.56" name = "pasta_curves" version = "0.5.1" authors = [ "Sean Bowe ", "Ying Tong Lai ", "Daira Hopwood ", "Jack Grigg ", ] description = "Implementation of the Pallas and Vesta (Pasta) curve cycle" documentation = "https://docs.rs/pasta_curves" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/zcash/pasta_curves" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", "--html-in-header", "katex-header.html", ] [[bench]] name = "hashtocurve" harness = false required-features = ["alloc"] [[bench]] name = "fp" harness = false [[bench]] name = "fq" harness = false [[bench]] name = "point" harness = false required-features = ["alloc"] [dependencies.blake2b_simd] version = "1" optional = true default-features = false [dependencies.ec-gpu] version = "0.2.0" optional = true [dependencies.ff] version = "0.13" default-features = false [dependencies.group] version = "0.13" default-features = false [dependencies.hex] version = "0.4" features = [ "alloc", "serde", ] optional = true default-features = false [dependencies.lazy_static] version = "1.4.0" features = ["spin_no_std"] optional = true [dependencies.rand] version = "0.8" default-features = false [dependencies.serde_crate] version = "1.0.16" features = ["alloc"] optional = true default-features = false package = "serde" [dependencies.static_assertions] version = "1.1.0" [dependencies.subtle] version = "2.3" default-features = false [dev-dependencies.bincode] version = "1.3" [dev-dependencies.criterion] version = "0.3" [dev-dependencies.csv] version = ">= 1.0, < 1.2" [dev-dependencies.rand_xorshift] version = "0.3" [dev-dependencies.serde_json] version = "1.0" [features] alloc = [ "group/alloc", "blake2b_simd", ] bits = ["ff/bits"] default = [ "bits", "sqrt-table", ] gpu = [ "alloc", "ec-gpu", ] repr-c = [] serde = [ "hex", "serde_crate", ] sqrt-table = [ "alloc", "lazy_static", ] uninline-portable = []