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"]