]> git.bitcoin.ninja Git - rust-lightning/commit
Drop explicit `bitcoin_hashes` dependency in `lightning-invoice`
authorMatt Corallo <git@bluematt.me>
Fri, 15 Dec 2023 18:14:56 +0000 (18:14 +0000)
committerMatt Corallo <git@bluematt.me>
Fri, 15 Dec 2023 22:31:51 +0000 (22:31 +0000)
commit83e76d78b721bf632e379b9a40840330b6b28e35
tree287ee6d8edbd890cc514cdb45b95d6ed44128167
parent90cc9930b70244e5febdfc5a734561122c10e051
Drop explicit `bitcoin_hashes` dependency in `lightning-invoice`

Since `lightning-invoice` now depends on the `bitcoin` crate
directly, also depending on the `bitcoin_hashes` crate is redundant
and just means we confuse users by setting the `std` flag only on
`bitcoin`. Thus, we drop the explicit dependency here and replace
it with `bitcoin::hashes`.
lightning-invoice/Cargo.toml
lightning-invoice/src/de.rs
lightning-invoice/src/lib.rs
lightning-invoice/src/payment.rs
lightning-invoice/src/utils.rs
lightning-invoice/tests/ser_de.rs