2020-08-22 13:15:39 -07:00
|
|
|
[package]
|
2021-03-03 13:46:11 -08:00
|
|
|
name = "pasta_curves"
|
|
|
|
description = "Implementation of the Pallas and Vesta (Pasta) curve cycle"
|
2023-03-02 08:47:32 -08:00
|
|
|
version = "0.5.1"
|
2020-08-22 13:15:39 -07:00
|
|
|
authors = [
|
|
|
|
"Sean Bowe <sean@electriccoin.co>",
|
|
|
|
"Ying Tong Lai <yingtong@electriccoin.co>",
|
2020-11-06 21:22:52 -08:00
|
|
|
"Daira Hopwood <daira@electriccoin.co>",
|
2020-11-10 08:52:41 -08:00
|
|
|
"Jack Grigg <jack@electriccoin.co>",
|
2020-08-22 13:15:39 -07:00
|
|
|
]
|
2022-05-04 16:16:27 -07:00
|
|
|
edition = "2021"
|
2023-03-02 07:51:58 -08:00
|
|
|
rust-version = "1.60"
|
2021-09-17 08:31:30 -07:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-03-03 13:46:11 -08:00
|
|
|
repository = "https://github.com/zcash/pasta_curves"
|
|
|
|
documentation = "https://docs.rs/pasta_curves"
|
2020-08-22 13:15:39 -07:00
|
|
|
readme = "README.md"
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2021-01-22 13:13:11 -08:00
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs", "--html-in-header", "katex-header.html"]
|
2020-08-22 13:15:39 -07:00
|
|
|
|
2020-09-15 09:44:56 -07:00
|
|
|
[dev-dependencies]
|
2022-09-02 08:06:02 -07:00
|
|
|
bincode = "1.3"
|
2023-03-02 09:23:42 -08:00
|
|
|
criterion = "0.4"
|
2021-03-10 05:44:04 -08:00
|
|
|
rand_xorshift = "0.3"
|
2022-09-02 08:06:02 -07:00
|
|
|
serde_json = "1.0"
|
2020-09-15 09:44:56 -07:00
|
|
|
|
2021-01-13 05:24:47 -08:00
|
|
|
[[bench]]
|
|
|
|
name = "hashtocurve"
|
|
|
|
harness = false
|
2021-12-21 21:41:04 -08:00
|
|
|
required-features = ["alloc"]
|
2021-01-13 05:24:47 -08:00
|
|
|
|
2021-03-10 05:44:04 -08:00
|
|
|
[[bench]]
|
|
|
|
name = "fp"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "fq"
|
|
|
|
harness = false
|
|
|
|
|
2021-08-11 07:03:07 -07:00
|
|
|
[[bench]]
|
|
|
|
name = "point"
|
|
|
|
harness = false
|
2021-12-21 21:41:04 -08:00
|
|
|
required-features = ["alloc"]
|
2021-08-11 07:03:07 -07:00
|
|
|
|
2020-08-22 13:15:39 -07:00
|
|
|
[dependencies]
|
2022-12-05 18:31:50 -08:00
|
|
|
ff = { version = "0.13", default-features = false }
|
|
|
|
group = { version = "0.13", default-features = false }
|
2021-12-21 21:15:06 -08:00
|
|
|
rand = { version = "0.8", default-features = false }
|
2021-01-04 15:39:52 -08:00
|
|
|
static_assertions = "1.1.0"
|
2021-09-20 09:44:11 -07:00
|
|
|
subtle = { version = "2.3", default-features = false }
|
|
|
|
|
2022-01-03 05:53:32 -08:00
|
|
|
# alloc dependencies
|
|
|
|
blake2b_simd = { version = "1", optional = true, default-features = false }
|
|
|
|
|
2022-01-03 05:51:04 -08:00
|
|
|
# sqrt-table dependencies
|
2023-01-10 23:08:59 -08:00
|
|
|
lazy_static = { version = "1.4.0", optional = true, features = ["spin_no_std"] }
|
2020-12-01 00:19:07 -08:00
|
|
|
|
2022-03-02 05:37:44 -08:00
|
|
|
# gpu dependencies
|
2022-07-08 04:49:02 -07:00
|
|
|
ec-gpu = { version = "0.2.0", optional = true }
|
2022-03-02 05:37:44 -08:00
|
|
|
|
2022-09-02 08:06:02 -07:00
|
|
|
# serde dependencies
|
|
|
|
serde_crate = { version = "1.0.16", optional = true, default-features = false, features = ["alloc"], package = "serde" }
|
|
|
|
hex = { version = "0.4", optional = true, default-features = false, features = ["alloc", "serde"] }
|
|
|
|
|
2021-06-01 15:31:00 -07:00
|
|
|
[features]
|
2021-12-21 21:41:04 -08:00
|
|
|
default = ["bits", "sqrt-table"]
|
2022-01-03 05:53:32 -08:00
|
|
|
alloc = ["group/alloc", "blake2b_simd"]
|
2021-06-01 15:31:00 -07:00
|
|
|
bits = ["ff/bits"]
|
2022-03-02 05:37:44 -08:00
|
|
|
gpu = ["alloc", "ec-gpu"]
|
2021-12-21 20:59:49 -08:00
|
|
|
sqrt-table = ["alloc", "lazy_static"]
|
2022-02-17 08:06:02 -08:00
|
|
|
repr-c = []
|
2022-08-17 08:39:04 -07:00
|
|
|
uninline-portable = []
|
2022-09-02 08:06:02 -07:00
|
|
|
serde = ["hex", "serde_crate"]
|