2022-10-29 03:54:42 -05:00
|
|
|
[package]
|
|
|
|
|
name = "schnorr-signatures"
|
2025-08-19 21:45:59 -04:00
|
|
|
version = "0.5.2"
|
2022-10-29 03:54:42 -05: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"
|
2025-08-19 16:12:57 -04:00
|
|
|
rust-version = "1.79"
|
2022-10-29 03:54:42 -05:00
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
|
all-features = true
|
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
2023-12-16 20:54:24 -05:00
|
|
|
[lints]
|
|
|
|
|
workspace = true
|
|
|
|
|
|
2022-10-29 03:54:42 -05:00
|
|
|
[dependencies]
|
2023-08-08 18:18:59 -04:00
|
|
|
std-shims = { path = "../../common/std-shims", version = "^0.1.1", default-features = false }
|
2023-04-22 04:38:47 -04:00
|
|
|
|
|
|
|
|
rand_core = { version = "0.6", default-features = false }
|
2022-10-29 03:54:42 -05:00
|
|
|
|
2023-05-13 04:03:56 -04:00
|
|
|
zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] }
|
2022-10-29 03:54:42 -05:00
|
|
|
|
2025-08-19 21:50:58 -04:00
|
|
|
transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false, optional = true }
|
2022-11-04 08:03:29 -04:00
|
|
|
|
2023-08-08 18:30:19 -04:00
|
|
|
ciphersuite = { path = "../ciphersuite", version = "^0.4.1", default-features = false, features = ["alloc"] }
|
2023-08-08 18:18:59 -04:00
|
|
|
multiexp = { path = "../multiexp", version = "0.4", default-features = false, features = ["batch"] }
|
2022-10-29 03:54:42 -05:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-03-02 09:06:03 -05:00
|
|
|
hex = "0.4"
|
2023-04-22 04:38:47 -04:00
|
|
|
|
|
|
|
|
rand_core = { version = "0.6", features = ["std"] }
|
|
|
|
|
|
2023-03-02 09:06:03 -05:00
|
|
|
sha2 = "0.10"
|
2023-04-22 04:38:47 -04:00
|
|
|
|
2023-08-08 18:18:59 -04:00
|
|
|
dalek-ff-group = { path = "../dalek-ff-group" }
|
2025-08-20 04:50:37 -04:00
|
|
|
ciphersuite = { path = "../ciphersuite" }
|
2023-04-22 04:38:47 -04:00
|
|
|
|
|
|
|
|
[features]
|
2025-08-19 21:50:58 -04:00
|
|
|
aggregate = ["transcript"]
|
|
|
|
|
std = ["std-shims/std", "rand_core/std", "zeroize/std", "transcript?/std", "ciphersuite/std", "multiexp/std"]
|
2023-04-22 04:38:47 -04:00
|
|
|
default = ["std"]
|