You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed the vestigial std feature. Users relying on features = ["std"] should switch to features = ["alloc"].
HexDisplayExt is now a sealed trait: downstream crates can no longer provide their own
implementations. The new blanket impl for T: AsRef<[u8]> + ?Sized already covers every
reasonable input.
HexDisplayExt convenience methods hex_stringupper_hex_string renamed to to_hex_string and to_upper_hex_string to match preferred Rust naming conventions.
Hex object now uses explicit Hex::new() constructor instead of providing public fields.
MSRV raised from 1.56 to 1.74.
Added
The formatter's width, align, and fill are now honored for the single-line hex output.
Alternate-form hexdump output: format!("{:#}", bytes.hex()) produces a multiline hexdump -C-style dump with an offset column and ASCII gutter. Combines with the upper-case flag
({:#X}) and width/alignment/fill.
to_hex_dump / to_upper_hex_dump convenience methods on HexDisplayExt, gated on the alloc
feature, to produce the hexdump as described above but as a string.
Generic HexDisplayExt implementation for any T: AsRef<[u8]> + ?Sized.