Enable secp256k1/alloc for no-std

This commit is contained in:
Devrandom 2021-08-02 09:55:37 +02:00
parent 206c648869
commit 849ec3f2c8
1 changed files with 1 additions and 1 deletions

View File

@ -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 }