PackageTrack
Sign in Get early access

hex-conservative

A hex encoding and decoding crate with a conservative MSRV and dependency policy.

1.2.0 38M downloads/mo #1468 most downloaded on crates.io rust-bitcoin/hex-conservative

What this package is like to depend on

Last release 2 months ago

27 May 2026

Release timing varies

gaps range from 9 days to 8 months

Most releases are documented

notes for 11 of 14 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

16 releases · first in 2023

6 releases in the last 12 months

see the full history below

Release timeline

16 releases · Apr 2023 to May 2026
2024 2025 2026
Release Pre-release

Releases

latest 16
  1. 1.2.0 27 May 2026
    Release notes
    • Add fmt_hex_exact_lower and fmt_hex_exact_upper macros #247
    Open source →
  2. 1.1.0 08 May 2026
    Release notes

    v1.0 of this crate only has the decoding side (and the decoding iterator is private).

    This next release introduces the encoding side of the library and also makes the iterator types public - enjoy.

    • Prepare master to be v1.1 #206
      • Delete serde module
      • Delete FromHex trait
    • Convert DisplayHex to use GAT #215
    • Bump MSRV to Rust v1.74.0
    • Derive standard traits on all types #221
    • Add FromIterator and Extend to BufEncoder #223
    • Remove serde dependencies #224
    • Convert HexSliceToBytesIter to a newtype instead of an alias #227
    • Implement nth and nth_back #232
    • Fix InvalidCharError position with mixed reading on HexToBytesIter #235
    • Introduce Char enum and rewrite BytesToHexIter to return it #236
    • Use Char table lookup to improve decode performance #243
    • Char improvements #242
    • Align fmt_hex_exact and Display impls #127
    Open source →
  3. 1.0.1 02 Dec 2025
    Release notes
    • Remove doc_auto_cfg
    Open source →
  4. 1.0.0 11 Jul 2025
    Release notes
    • Removed niche reexports from root
    • Various documentation improvements
    • A few test improvements
    Open source →
  5. 1.0.0-rc.2 27 Jun 2025 pre-release
    Release notes

    hex-conservative-1.0.0-rc.2

    Open source →
  6. 1.0.0-rc.1 22 May 2025 pre-release
    Release notes

    hex-conservative 1.0 rc1

    Open source →
  7. 0.3.2 10 Feb 2026
    Release notes
    • Add hex! macro for const hex literal parsing.
    • Bump the MSRV
    Open source →
  8. 0.3.1 25 Nov 2025

    Nothing published for this version

  9. 0.3.0 30 Oct 2024
    Release notes
    • Re-implement HexWriter #113
    • Fix Display width and precision of DisplayByteSlice #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
    Open source →
  10. 0.2.2 26 Nov 2025

    Nothing published for this version

  11. 0.2.1 23 May 2024
    Release notes
    • Add a new impl_fmt_traits macro that can be used to implement fmt::{LowerHex, UpperHex, Display, Debug} #90
    Open source →
  12. 0.2.0 27 Feb 2024
    Release notes

    Breaking changes

    There are a bunch of breaking changes in this release, including:

    • Re-write the FromHex trait #80
    • Revamp BufEncoder #52
    • A bunch of public errors have changed.

    Other improvements

    • 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 honour Formatter::precision#81

    Improve error handling

    • Update the derives on error types #31
    • Hide error internal #44
    • Return specific error from HexToByesIter::new #62
    Open source →
  13. 0.1.2 14 May 2024
    Release notes
    • Fix bug in output of InvalidError #88.
    Open source →
  14. 0.1.1 19 Jul 2023
    Release notes
    Open source →
  15. 0.1.0 12 Jul 2023
    Release notes
    Open source →
  16. 0.0.1 30 Apr 2023

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive