frost/frost-core/Cargo.toml

71 lines
2.2 KiB
TOML
Raw Normal View History

2021-12-13 04:25:02 -08:00
[package]
name = "frost-core"
edition = "2021"
# When releasing to crates.io:
# - Update CHANGELOG.md
# - Create git tag.
2024-02-19 11:56:58 -08:00
version = "1.0.0"
authors = [
"Deirdre Connolly <durumcrustulum@gmail.com>",
"Chelsea Komlo <me@chelseakomlo.com>",
"Conrado Gouvea <conradoplg@gmail.com>",
]
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"]
description = "Types and traits to support implementing Flexible Round-Optimized Schnorr Threshold signature schemes (FROST)."
2021-12-13 04:25:02 -08: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]
byteorder = "1.4"
const-crc32 = "1.2.0"
2023-09-04 12:38:48 -07:00
document-features = "0.2.7"
debugless-unwrap = "0.0.4"
derive-getters = "0.3.0"
hex = "0.4.3"
postcard = { version = "1.0.0", features = ["use-std"], optional = true }
rand_core = "0.6"
serde = { version = "1.0.160", features = ["derive"], optional = true }
serdect = { version = "0.2.0", optional = true }
thiserror = "1.0"
visibility = "0.1.0"
zeroize = { version = "1.5.4", default-features = false, features = ["derive"] }
itertools = "0.12.0"
# Test dependencies used with the test-impl feature
proptest = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
criterion = { version = "0.5", optional = true }
[dev-dependencies]
lazy_static = "1.4"
proptest = "1.0"
rand = "0.8"
rand_chacha = "0.3"
serde_json = "1.0"
[features]
default = ["serialization", "cheater-detection"]
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.
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`).
serde = ["dep:serde", "dep:serdect"]
serialization = ["serde", "dep:postcard"]
# Exposes ciphersuite-generic tests for other crates to use
2023-06-30 06:24:59 -07:00
test-impl = ["proptest", "serde_json", "criterion"]
# Enable cheater detection
cheater-detection = []
[lib]
bench = false