- Re-implement
HexWriter
#113 - Fix
Display
width and precision ofDisplayByteSlice
#114 - Encoding performance improvements #117
- Relax bounds of
BytesToHexIter
#118 - Add case to
BytesToHexIter
#120 - Encapsulate unsafe code inside the table module #121
- Fix
HexToBytesIter::size_hint
#122 - Restrict
BufEncoder
to uniform case encoding #119 - Remove the
core2
dependency #105 - Introduce more serde utilities #92
- Add
impl_fmt_traits
macro #90 - Enable serialization of byte slices #96
- Bump MSRV to Rust
1.63.0
#102 - Store position of invalid char in
InvalidCharError
#107 - Only encode the bytes formatted in the hex string #108
- Add a new
impl_fmt_traits
macro that can be used to implementfmt::{LowerHex, UpperHex, Display, Debug}
#90
There are a bunch of breaking changes in this release, including:
- Bump MSRV to 1.56.1
- For improved ergonomics, add a prelude module #36
- Add a
serde
module #37 - Remove arbitrary padding limit #41
- Make
fmt_hex_exact
honourFormatter::precision
#81
- Update the derives on error types #31
- Hide error internal #44
- Return specific error from
HexToByesIter::new
#62
- Add
test_hex_unwrap
hex parsing macro for test usage. - Improve formatting hex for bytes slices e.g., support padding.
- Import code from the
bitcoin_hashes
andbitcoin-internals
crates. - Add
Iterator
implementations