2022-11-22 13:09:21 -08:00
|
|
|
[package]
|
|
|
|
name = "frost-secp256k1"
|
|
|
|
edition = "2021"
|
|
|
|
# When releasing to crates.io:
|
|
|
|
# - Update CHANGELOG.md
|
|
|
|
# - Create git tag.
|
2023-09-13 09:52:41 -07:00
|
|
|
version = "0.7.0"
|
2022-12-06 07:30:37 -08:00
|
|
|
authors = [
|
|
|
|
"Deirdre Connolly <durumcrustulum@gmail.com>",
|
|
|
|
"Chelsea Komlo <me@chelseakomlo.com>",
|
|
|
|
"Conrado Gouvea <conradoplg@gmail.com>"
|
|
|
|
]
|
2022-11-22 13:09:21 -08:00
|
|
|
readme = "README.md"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
repository = "https://github.com/ZcashFoundation/frost"
|
|
|
|
categories = ["cryptography"]
|
2023-07-10 09:52:33 -07:00
|
|
|
keywords = ["cryptography", "crypto", "threshold", "signature"]
|
|
|
|
description = "A Schnorr signature scheme over the secp256k1 curve that supports FROST."
|
2022-11-22 13:09:21 -08:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
2023-09-04 12:38:48 -07:00
|
|
|
features = ["serde"]
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
2022-11-22 13:09:21 -08:00
|
|
|
|
|
|
|
[dependencies]
|
2023-09-04 12:38:48 -07:00
|
|
|
document-features = "0.2.7"
|
2023-09-13 09:52:41 -07:00
|
|
|
frost-core = { path = "../frost-core", version = "0.7.0" }
|
2023-03-08 06:32:35 -08:00
|
|
|
k256 = { version = "0.13.0", features = ["arithmetic", "expose-field", "hash2curve"] }
|
2022-11-22 13:09:21 -08:00
|
|
|
rand_core = "0.6"
|
|
|
|
sha2 = "0.10.2"
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-05-25 08:43:43 -07:00
|
|
|
criterion = "0.5"
|
2023-09-13 09:52:41 -07:00
|
|
|
frost-core = { path = "../frost-core", version = "0.7.0", features = ["test-impl"] }
|
|
|
|
frost-rerandomized = { path = "../frost-rerandomized", version = "0.7.0", features = ["test-impl"] }
|
2023-09-13 05:58:26 -07:00
|
|
|
insta = { version = "1.31.0", features = ["yaml"] }
|
2022-12-15 01:38:53 -08:00
|
|
|
hex = "0.4.3"
|
2022-11-22 13:09:21 -08:00
|
|
|
lazy_static = "1.4"
|
|
|
|
proptest = "1.0"
|
|
|
|
rand = "0.8"
|
|
|
|
rand_chacha = "0.3"
|
|
|
|
serde_json = "1.0"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
nightly = []
|
2023-09-13 05:58:26 -07:00
|
|
|
default = ["serialization"]
|
|
|
|
serialization = ["serde", "frost-core/serialization"]
|
2023-09-04 12:38:48 -07:00
|
|
|
#! ## Features
|
|
|
|
## Enable `serde` support for types that need to be communicated. You
|
|
|
|
## can use `serde` to serialize structs with any encoder that supports
|
|
|
|
## `serde` (e.g. JSON with `serde_json`).
|
2023-06-23 07:22:33 -07:00
|
|
|
serde = ["frost-core/serde"]
|
2023-01-30 10:48:13 -08:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
# Disables non-criterion benchmark which is not used; prevents errors
|
|
|
|
# when using criterion-specific flags
|
|
|
|
bench = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "bench"
|
|
|
|
harness = false
|