74 lines
2.6 KiB
TOML
74 lines
2.6 KiB
TOML
[package]
|
|
name = "frost_core"
|
|
edition = "2021"
|
|
# rust-version.workspace = true
|
|
version = "2.2.0"
|
|
readme = "README.md"
|
|
authors = [
|
|
"Deirdre Connolly <durumcrustulum@gmail.com>",
|
|
"Chelsea Komlo <me@chelseakomlo.com>",
|
|
"Conrado Gouvea <conradoplg@gmail.com>",
|
|
"Natalie Eskinazi <natalie@znfd.org>",
|
|
]
|
|
repository = "https://github.com/ZcashFoundation/frost"
|
|
# license.workspace = true
|
|
keywords = ["cryptography", "crypto", "threshold", "signature", "schnorr"]
|
|
description = "Types and traits to support implementing Flexible Round-Optimized Schnorr Threshold signature schemes (FROST)."
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["serde"]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
byteorder = { version = "1.4", default-features = false }
|
|
const-crc32 = { version = "1.2.0", package = "const-crc32-nostd" }
|
|
document-features.workspace = true
|
|
debugless-unwrap = "0.0.4"
|
|
derive-getters = "0.5.0"
|
|
hex.workspace = true
|
|
postcard = { version = "1.0.0", features = ["alloc"], optional = true }
|
|
rand_core = { version = "0.6", default-features = false }
|
|
serde = { version = "1.0.160", default-features = false, features = [
|
|
"derive",
|
|
], optional = true }
|
|
serdect = { version = "0.2.0", optional = true }
|
|
thiserror = { version = "2.0.3", default-features = false }
|
|
visibility = "0.1.0"
|
|
zeroize = { version = "1.5.4", default-features = false, features = ["derive"] }
|
|
itertools = { version = "0.14.0", default-features = false }
|
|
|
|
# Test dependencies used with the test-impl feature
|
|
proptest = { version = "1.0", optional = true }
|
|
serde_json = { version = "1.0", optional = true }
|
|
criterion = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
criterion.workspace = true
|
|
lazy_static.workspace = true
|
|
proptest.workspace = true
|
|
rand.workspace = true
|
|
rand_chacha.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
[features]
|
|
default = ["serialization", "cheater-detection", "std"]
|
|
# No longer needed. Kept for retrocompatibility until 3.0.0
|
|
std = []
|
|
#! ## 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.
|
|
internals = []
|
|
## 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`).
|
|
serde = ["dep:serde", "dep:serdect"]
|
|
serialization = ["serde", "dep:postcard"]
|
|
# Exposes ciphersuite-generic tests for other crates to use
|
|
test-impl = ["dep:proptest", "dep:serde_json", "dep:criterion"]
|
|
# Enable cheater detection
|
|
cheater-detection = []
|
|
|
|
[lib]
|
|
bench = false
|