From 849ec3f2c8dd8f1e2e5a321a571ce94a7a582b81 Mon Sep 17 00:00:00 2001 From: Devrandom Date: Mon, 2 Aug 2021 09:55:37 +0200 Subject: [PATCH] Enable secp256k1/alloc for no-std --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d8c0f6ec..d1b88c8a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ secp-recovery = ["secp256k1/recovery"] # Instead no-std enables additional features required for this crate to be usable without std. # As a result, both can be enabled without conflict. std = ["secp256k1/std", "bitcoin_hashes/std", "bech32/std"] -no-std = ["hashbrown", "core2/alloc", "bitcoin_hashes/alloc"] +no-std = ["hashbrown", "core2/alloc", "bitcoin_hashes/alloc", "secp256k1/alloc"] [dependencies] bech32 = { version = "0.8.1", default-features = false }