Merge rust-bitcoin/rust-bitcoin#4569: bitcoin: secp256k1 global-context feature re-export
aa76108315
bitcoin: secp256k1 global-context feature re-export (Jose Storopoli) Pull request description: Often we want to have the `global-context` feature in `secp256k1` without having to add manually the `secp256k1` dependency and enabling the `global-context` feature. Having the ability to do that directly from `bitcoin` without having to add `secp256k1` and do the whole tango of tightly coupling the two dependecies versions together, e.g. `bitcoin` `0.32.x` and `secp256k1` `0.29.x` would be really nice and would also simplify a lot code maintainability for anyone who depends on bitcoin. This needs to be backported to `0.32.x`, which I'll gladly do as well. ACKs for top commit: luisschwab: ACKaa76108315
tcharding: ACKaa76108315
Tree-SHA512: ff0e0016a6bf7cadf42cb40857393acace538fc3fb5214b89d4222a2fe570e9ae79617ae276273eefc34c3b68a64100bb22a9c01f9075cc3ed0705d7a264b9b3
This commit is contained in:
commit
f2c6ec3b8c
|
@ -20,6 +20,7 @@ std = ["base58/std", "bech32/std", "hashes/std", "hex/std", "internals/std", "io
|
||||||
rand-std = ["secp256k1/rand", "std"]
|
rand-std = ["secp256k1/rand", "std"]
|
||||||
rand = ["secp256k1/rand"]
|
rand = ["secp256k1/rand"]
|
||||||
serde = ["base64", "dep:serde", "hashes/serde", "internals/serde", "primitives/serde", "secp256k1/serde", "units/serde"]
|
serde = ["base64", "dep:serde", "hashes/serde", "internals/serde", "primitives/serde", "secp256k1/serde", "units/serde"]
|
||||||
|
secp-global-context = ["secp256k1/global-context"]
|
||||||
secp-lowmemory = ["secp256k1/lowmemory"]
|
secp-lowmemory = ["secp256k1/lowmemory"]
|
||||||
secp-recovery = ["secp256k1/recovery"]
|
secp-recovery = ["secp256k1/recovery"]
|
||||||
arbitrary = ["dep:arbitrary", "units/arbitrary", "primitives/arbitrary"]
|
arbitrary = ["dep:arbitrary", "units/arbitrary", "primitives/arbitrary"]
|
||||||
|
|
Loading…
Reference in New Issue