rust-bitcoin / rust-secp256k1

Rust language bindings for Bitcoin secp256k1 library.
Creative Commons Zero v1.0 Universal
350 stars 270 forks source link

Feature gate the `Keypair::FromStr` impl #728

Closed tcharding closed 2 months ago

tcharding commented 2 months ago

Currently we are panicing if neither global-context or alloc features are enabled. We do not need to do so, we can just disable the whole impl of FromStr.

This was pulled out of #699.

apoelstra commented 2 months ago

Will let @Kixunil ACK this one as well since he was involved in the other PR.