pasta_curves-source/Cargo.toml

60 lines
1.4 KiB
TOML
Raw Normal View History

2020-08-22 20:15:39 +00:00
[package]
name = "pasta_curves"
description = "Implementation of the Pallas and Vesta (Pasta) curve cycle"
2021-09-17 15:37:00 +00:00
version = "0.2.1"
2020-08-22 20:15:39 +00:00
authors = [
"Sean Bowe <sean@electriccoin.co>",
"Ying Tong Lai <yingtong@electriccoin.co>",
2020-11-07 05:22:52 +00:00
"Daira Hopwood <daira@electriccoin.co>",
2020-11-10 16:52:41 +00:00
"Jack Grigg <jack@electriccoin.co>",
2020-08-22 20:15:39 +00:00
]
edition = "2018"
license = "MIT OR Apache-2.0"
repository = "https://github.com/zcash/pasta_curves"
documentation = "https://docs.rs/pasta_curves"
2020-08-22 20:15:39 +00:00
readme = "README.md"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs", "--html-in-header", "katex-header.html"]
2020-08-22 20:15:39 +00:00
[dev-dependencies]
criterion = "0.3"
rand_xorshift = "0.3"
[[bench]]
name = "hashtocurve"
harness = false
required-features = ["std"]
[[bench]]
name = "fp"
harness = false
[[bench]]
name = "fq"
harness = false
[[bench]]
name = "point"
harness = false
required-features = ["std"]
2020-08-22 20:15:39 +00:00
[dependencies]
blake2b_simd = { version = "0.5", default-features = false }
ff = { version = "0.11", default-features = false }
group = { version = "0.11", default-features = false }
rand = { version = "0.8", default-features = false }
static_assertions = "1.1.0"
subtle = { version = "2.3", default-features = false }
# std dependencies
lazy_static = { version = "1.4.0", optional = true }
2021-06-01 22:31:00 +00:00
[features]
default = ["bits", "sqrt-table", "std"]
alloc = ["group/alloc"]
2021-06-01 22:31:00 +00:00
bits = ["ff/bits"]
sqrt-table = ["alloc", "lazy_static"]
std = ["alloc"]