From 8a1b56a9282efda6e8f1ca92d4b92da7af0e27ef Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Tue, 19 Aug 2025 21:50:58 -0400 Subject: [PATCH] Make the transcript dependency optional for schnorr-signatures It's only required when aggregating. --- crypto/schnorr/Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto/schnorr/Cargo.toml b/crypto/schnorr/Cargo.toml index 8cc11325..96abb069 100644 --- a/crypto/schnorr/Cargo.toml +++ b/crypto/schnorr/Cargo.toml @@ -23,7 +23,7 @@ rand_core = { version = "0.6", default-features = false } zeroize = { version = "^1.5", default-features = false, features = ["zeroize_derive"] } -transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false } +transcript = { package = "flexible-transcript", path = "../transcript", version = "^0.3.2", default-features = false, optional = true } ciphersuite = { path = "../ciphersuite", version = "^0.4.1", default-features = false, features = ["alloc"] } multiexp = { path = "../multiexp", version = "0.4", default-features = false, features = ["batch"] } @@ -39,6 +39,6 @@ dalek-ff-group = { path = "../dalek-ff-group" } ciphersuite = { path = "../ciphersuite", features = ["ed25519"] } [features] -aggregate = [] -std = ["std-shims/std", "rand_core/std", "zeroize/std", "transcript/std", "ciphersuite/std", "multiexp/std"] +aggregate = ["transcript"] +std = ["std-shims/std", "rand_core/std", "zeroize/std", "transcript?/std", "ciphersuite/std", "multiexp/std"] default = ["std"]