From ae449535ff4adecdd67d26b7cc89920e816bb8a0 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Tue, 31 Oct 2023 07:55:25 -0400 Subject: [PATCH] Correct no-std builds --- coins/monero/generators/Cargo.toml | 4 ++-- tests/no-std/Cargo.toml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/coins/monero/generators/Cargo.toml b/coins/monero/generators/Cargo.toml index d1a1866f..95cfa25a 100644 --- a/coins/monero/generators/Cargo.toml +++ b/coins/monero/generators/Cargo.toml @@ -21,8 +21,8 @@ sha3 = { version = "0.10", default-features = false } curve25519-dalek = { version = "4", default-features = false, features = ["alloc", "zeroize", "precomputed-tables"] } group = { version = "0.13", default-features = false } -dalek-ff-group = { path = "../../../crypto/dalek-ff-group", version = "0.4" } +dalek-ff-group = { path = "../../../crypto/dalek-ff-group", version = "0.4", default-features = false } [features] -std = ["std-shims/std"] +std = ["std-shims/std", "subtle/std", "sha3/std", "dalek-ff-group/std"] default = ["std"] diff --git a/tests/no-std/Cargo.toml b/tests/no-std/Cargo.toml index a086092e..c659fba2 100644 --- a/tests/no-std/Cargo.toml +++ b/tests/no-std/Cargo.toml @@ -14,10 +14,10 @@ all-features = true rustdoc-args = ["--cfg", "docsrs"] [dependencies] -flexible-transcript = { path = "../../crypto/transcript", features = ["recommended", "merlin"] } +flexible-transcript = { path = "../../crypto/transcript", default-features = false, features = ["recommended", "merlin"] } -dalek-ff-group = { path = "../../crypto/dalek-ff-group" } -minimal-ed448 = { path = "../../crypto/ed448" } +dalek-ff-group = { path = "../../crypto/dalek-ff-group", default-features = false } +minimal-ed448 = { path = "../../crypto/ed448", default-features = false } ciphersuite = { path = "../../crypto/ciphersuite", default-features = false, features = ["alloc", "secp256k1", "p256", "ed25519", "ristretto", "ed448"] }