2022-10-29 08:54:42 +00:00
|
|
|
[package]
|
|
|
|
name = "schnorr-signatures"
|
2023-03-21 00:28:41 +00:00
|
|
|
version = "0.4.0"
|
2022-10-29 08:54:42 +00:00
|
|
|
description = "Minimal Schnorr signatures crate hosting common code"
|
|
|
|
license = "MIT"
|
|
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/crypto/schnorr"
|
|
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
|
|
keywords = ["schnorr", "ff", "group"]
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
|
|
[dependencies]
|
2023-04-22 08:38:47 +00:00
|
|
|
std-shims = { path = "../../common/std-shims", version = "0.1", default-features = false }
|
|
|
|
|
|
|
|
rand_core = { version = "0.6", default-features = false }
|
2022-10-29 08:54:42 +00:00
|
|
|
|
2023-05-13 08:03:56 +00:00
|
|
|
zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] }
|
2022-10-29 08:54:42 +00:00
|
|
|
|
2023-04-22 08:38:47 +00:00
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", version = "0.3", default-features = false }
|
2022-11-04 12:03:29 +00:00
|
|
|
|
2023-04-22 08:38:47 +00:00
|
|
|
ciphersuite = { path = "../ciphersuite", version = "0.3", default-features = false, features = ["alloc"] }
|
|
|
|
multiexp = { path = "../multiexp", version = "0.3", default-features = false, features = ["batch"] }
|
2022-10-29 08:54:42 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-03-02 14:06:03 +00:00
|
|
|
hex = "0.4"
|
2023-04-22 08:38:47 +00:00
|
|
|
|
|
|
|
rand_core = { version = "0.6", features = ["std"] }
|
|
|
|
|
2023-03-02 14:06:03 +00:00
|
|
|
sha2 = "0.10"
|
2023-04-22 08:38:47 +00:00
|
|
|
|
2023-03-21 00:28:41 +00:00
|
|
|
dalek-ff-group = { path = "../dalek-ff-group", version = "0.3" }
|
|
|
|
ciphersuite = { path = "../ciphersuite", version = "0.3", features = ["ed25519"] }
|
2023-04-22 08:38:47 +00:00
|
|
|
|
|
|
|
[features]
|
2023-07-01 12:53:46 +00:00
|
|
|
std = ["std-shims/std", "ciphersuite/std", "multiexp/std"]
|
2023-04-22 08:38:47 +00:00
|
|
|
default = ["std"]
|