rust-bitcoin-unsafe-fast/bitcoin/src/crypto
Andrew Poelstra b31ac0fcb7
Merge rust-bitcoin/rust-bitcoin#2768: Deprecate `to_vec` in favour of `to_bytes`
eda61ddfef Deprecate to_vec in favour of to_bytes (Tobin C. Harding)

Pull request description:

  Currently we have to method names for the same thing "copy this object into a vector". The library is easier to use if we are uniform and just use one.

  Elect to use `to_bytes`, for context see discussion in PR #2585.

ACKs for top commit:
  apoelstra:
    ACK eda61ddfef Nice. IMO we should start deprecating stuff for two releases rather than one, so that people have a year to update.

Tree-SHA512: 0aadd1258a07bfa53806f19a3c41af8d3b1132aa42e7a2015a59c58c4309d7a9b50b86d076c181ce5870ba5acd989feec32669352ecf857ae6fd982873482c34
2024-05-28 15:19:35 +00:00
..
ecdsa.rs Deprecate to_vec in favour of to_bytes 2024-05-14 10:47:02 +10:00
key.rs doc: fix "lazy line continuations" in markdown 2024-05-27 12:50:26 +00:00
mod.rs Removed //! spare line at end of headers 2024-05-16 09:59:55 +01:00
sighash.rs doc: fix "lazy line continuations" in markdown 2024-05-27 12:50:26 +00:00
taproot.rs Merge rust-bitcoin/rust-bitcoin#2768: Deprecate `to_vec` in favour of `to_bytes` 2024-05-28 15:19:35 +00:00