2022-10-29 08:54:42 +00:00
|
|
|
[package]
|
|
|
|
name = "schnorr-signatures"
|
2023-08-08 22:30:19 +00:00
|
|
|
version = "0.5.1"
|
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"
|
2023-11-21 06:19:40 +00:00
|
|
|
rust-version = "1.74"
|
2022-10-29 08:54:42 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
|
|
[dependencies]
|
2023-08-08 22:18:59 +00:00
|
|
|
std-shims = { path = "../../common/std-shims", version = "^0.1.1", default-features = false }
|
2023-04-22 08:38:47 +00:00
|
|
|
|
|
|
|
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-08-08 22:30:19 +00:00
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false }
|
2022-11-04 12:03:29 +00:00
|
|
|
|
2023-08-08 22:30:19 +00:00
|
|
|
ciphersuite = { path = "../ciphersuite", version = "^0.4.1", default-features = false, features = ["alloc"] }
|
2023-08-08 22:18:59 +00:00
|
|
|
multiexp = { path = "../multiexp", version = "0.4", 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-08-08 22:18:59 +00:00
|
|
|
dalek-ff-group = { path = "../dalek-ff-group" }
|
|
|
|
ciphersuite = { path = "../ciphersuite", features = ["ed25519"] }
|
2023-04-22 08:38:47 +00:00
|
|
|
|
|
|
|
[features]
|
2023-10-31 11:41:23 +00:00
|
|
|
std = ["std-shims/std", "rand_core/std", "zeroize/std", "transcript/std", "ciphersuite/std", "multiexp/std"]
|
2023-04-22 08:38:47 +00:00
|
|
|
default = ["std"]
|