rust-bitcoin-unsafe-fast/bitcoin
Martin Habovstiak 64f7d2549e Fix wrong newtype APIs
This fixes several API bugs:

* Use `TryFrom` instead of `From` for fallible conversions
* Move byte conversion methods from `impl_array_newtype` to
  `impl_bytes_newtype`
* Add missing trait impls like `AsRef`, `Borrow`, their mutable versions
  and infallible conversions from arrays

Closes #1336
2022-12-23 01:28:17 +01:00
..
contrib Fail CI if docs build throws warnings 2022-11-21 10:35:49 +11:00
embedded Patch hashes and update the code 2022-12-18 14:33:55 +01:00
examples Add `tapscript_leaf_hash()` to `Script` 2022-12-19 08:35:35 +01:00
fuzz Patch hashes and update the code 2022-12-18 14:33:55 +01:00
src Fix wrong newtype APIs 2022-12-23 01:28:17 +01:00
tests Implemented unsized `Script` 2022-12-14 23:21:27 +01:00
CHANGELOG.md add some documentation clarifying the locktime ordering shenanigans in #1330 2022-12-15 23:12:03 +00:00
Cargo.toml build(deps): bump secp256k1 to 0.25.0 2022-12-20 12:23:15 +02:00
build.rs Implement consensus encoding adapter for serde 2022-12-02 10:48:05 +01:00