2021-12-13 04:25:02 -08:00
|
|
|
[package]
|
|
|
|
name = "frost-core"
|
|
|
|
edition = "2021"
|
2022-05-16 13:53:17 -07:00
|
|
|
# When releasing to crates.io:
|
|
|
|
# - Update CHANGELOG.md
|
|
|
|
# - Create git tag.
|
2023-07-05 07:04:05 -07:00
|
|
|
version = "0.6.0"
|
2023-09-01 22:01:01 -07:00
|
|
|
authors = [
|
|
|
|
"Deirdre Connolly <durumcrustulum@gmail.com>",
|
|
|
|
"Chelsea Komlo <me@chelseakomlo.com>",
|
|
|
|
"Conrado Gouvea <conradoplg@gmail.com>",
|
|
|
|
]
|
2022-05-16 13:53:17 -07:00
|
|
|
readme = "README.md"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
repository = "https://github.com/ZcashFoundation/frost"
|
|
|
|
categories = ["cryptography"]
|
2023-03-09 07:08:01 -08:00
|
|
|
keywords = ["cryptography", "crypto", "threshold", "signature", "schnorr"]
|
2022-05-16 13:53:17 -07:00
|
|
|
description = "Types and traits to support implementing Flexible Round-Optimized Schnorr Threshold signature schemes (FROST)."
|
2021-12-13 04:25:02 -08:00
|
|
|
|
2022-05-16 13:53:17 -07:00
|
|
|
[package.metadata.docs.rs]
|
2023-09-04 12:38:48 -07:00
|
|
|
features = ["serde"]
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
2021-12-13 04:25:02 -08:00
|
|
|
|
|
|
|
[dependencies]
|
2022-05-16 13:53:17 -07:00
|
|
|
byteorder = "1.4"
|
2023-09-04 12:38:48 -07:00
|
|
|
document-features = "0.2.7"
|
2022-09-05 13:34:28 -07:00
|
|
|
debugless-unwrap = "0.0.4"
|
2023-06-23 07:07:34 -07:00
|
|
|
derive-getters = "0.3.0"
|
2023-09-01 22:01:01 -07:00
|
|
|
hex = "0.4.3"
|
2022-05-16 13:53:17 -07:00
|
|
|
rand_core = "0.6"
|
2023-06-23 02:58:22 -07:00
|
|
|
serde = { version = "1.0.160", features = ["derive"], optional = true }
|
|
|
|
serdect = { version = "0.2.0", optional = true }
|
2022-05-16 13:53:17 -07:00
|
|
|
thiserror = "1.0"
|
2023-09-04 12:38:52 -07:00
|
|
|
visibility = "0.1.0"
|
2022-05-16 13:53:17 -07:00
|
|
|
zeroize = { version = "1.5.4", default-features = false, features = ["derive"] }
|
2023-06-30 12:48:01 -07:00
|
|
|
itertools = "0.11.0"
|
2022-05-16 13:53:17 -07:00
|
|
|
|
2022-09-05 13:34:28 -07:00
|
|
|
# Test dependencies used with the test-impl feature
|
|
|
|
proptest = { version = "1.0", optional = true }
|
|
|
|
serde_json = { version = "1.0", optional = true }
|
2023-05-25 08:43:43 -07:00
|
|
|
criterion = { version = "0.5", optional = true }
|
2022-09-05 13:34:28 -07:00
|
|
|
|
2022-05-16 13:53:17 -07:00
|
|
|
[dev-dependencies]
|
|
|
|
lazy_static = "1.4"
|
|
|
|
proptest = "1.0"
|
|
|
|
rand = "0.8"
|
|
|
|
rand_chacha = "0.3"
|
|
|
|
serde_json = "1.0"
|
|
|
|
|
|
|
|
[features]
|
2022-12-07 07:40:17 -08:00
|
|
|
default = []
|
2023-09-04 12:38:48 -07:00
|
|
|
#! ## Features
|
|
|
|
## Expose internal types, which do not have SemVer guarantees. This is an advanced
|
|
|
|
## feature which can be useful if you need to build a modified version of FROST.
|
|
|
|
## The docs won't list them, you will need to check the source code.
|
2023-01-05 20:26:13 -08:00
|
|
|
internals = []
|
2023-09-04 12:38:48 -07:00
|
|
|
## 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 02:58:22 -07:00
|
|
|
serde = ["dep:serde", "dep:serdect"]
|
2023-01-30 10:48:13 -08:00
|
|
|
# Exposes ciphersuite-generic tests for other crates to use
|
2023-06-30 06:24:59 -07:00
|
|
|
test-impl = ["proptest", "serde_json", "criterion"]
|
2023-01-30 10:48:13 -08:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
bench = false
|