Enable secp256k1/alloc for no-std
This commit is contained in:
parent
206c648869
commit
849ec3f2c8
|
@ -26,7 +26,7 @@ secp-recovery = ["secp256k1/recovery"]
|
||||||
# Instead no-std enables additional features required for this crate to be usable without std.
|
# Instead no-std enables additional features required for this crate to be usable without std.
|
||||||
# As a result, both can be enabled without conflict.
|
# As a result, both can be enabled without conflict.
|
||||||
std = ["secp256k1/std", "bitcoin_hashes/std", "bech32/std"]
|
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]
|
[dependencies]
|
||||||
bech32 = { version = "0.8.1", default-features = false }
|
bech32 = { version = "0.8.1", default-features = false }
|
||||||
|
|
Loading…
Reference in New Issue