[package] name = "frost-p256" edition = "2021" # When releasing to crates.io: # - Update html_root_url # - Update CHANGELOG.md # - Create git tag. version = "2.0.0" authors = [ "Deirdre Connolly ", "Chelsea Komlo ", "Conrado Gouvea " ] readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/ZcashFoundation/frost" categories = ["cryptography"] keywords = ["cryptography", "crypto", "threshold", "signature"] description = "A Schnorr signature scheme over the NIST P-256 curve that supports FROST." [package.metadata.docs.rs] features = ["serde"] rustdoc-args = ["--cfg", "docsrs"] [dependencies] document-features = "0.2.7" p256 = { version = "0.13.0", features = ["hash2curve"], default-features = false } frost-core = { path = "../frost-core", version = "2.0.0", default-features = false } frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", default-features = false } rand_core = "0.6" sha2 = { version = "0.10.2", default-features = false } [dev-dependencies] criterion = "0.5" frost-core = { path = "../frost-core", version = "2.0.0", features = ["test-impl"] } frost-rerandomized = { path = "../frost-rerandomized", version = "2.0.0", features = ["test-impl"] } insta = { version = "1.31.0", features = ["yaml"] } hex = { version = "0.4.3", default-features = false, features = ["alloc"] } lazy_static = "1.4" proptest = "1.0" rand = "0.8" rand_chacha = "0.3" serde_json = "1.0" [features] nightly = [] default = ["serialization", "cheater-detection", "std"] #! ## Features ## Enable standard library support. std = ["frost-core/std"] ## 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 = ["frost-core/serde"] ## Enable a default serialization format. Enables `serde`. serialization = ["serde", "frost-core/serialization", "frost-rerandomized/serialization"] ## Enable cheater detection cheater-detection = ["frost-core/cheater-detection", "frost-rerandomized/cheater-detection"] [lib] # Disables non-criterion benchmark which is not used; prevents errors # when using criterion-specific flags bench = false [[bench]] name = "bench" harness = false