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 2026Releases
latest 16-
1.2.027 May 2026 -
1.1.008 May 2026Release notes
Open source →v1.0of 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
serdemodule - Delete
FromHextrait
- Delete
- Convert
DisplayHexto use GAT #215 - Bump MSRV to Rust
v1.74.0 - Derive standard traits on all types #221
- Add
FromIteratorandExtendtoBufEncoder#223 - Remove
serdedependencies #224 - Convert
HexSliceToBytesIterto a newtype instead of an alias #227 - Implement
nthandnth_back#232 - Fix
InvalidCharErrorposition with mixed reading onHexToBytesIter#235 - Introduce
Charenum and rewriteBytesToHexIterto return it #236 - Use
Chartable lookup to improve decode performance #243 Charimprovements #242- Align
fmt_hex_exactandDisplayimpls #127
- Prepare master to be
-
1.0.102 Dec 2025 -
1.0.011 Jul 2025Release notes
Open source →- Removed niche reexports from root
- Various documentation improvements
- A few test improvements
-
1.0.0-rc.227 Jun 2025 pre-release -
1.0.0-rc.122 May 2025 pre-release -
0.3.210 Feb 2026 -
0.3.125 Nov 2025Nothing published for this version
-
0.3.030 Oct 2024Release notes
Open source →- Re-implement
HexWriter#113 - Fix
Displaywidth 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
BufEncoderto uniform case encoding #119 - Remove the
core2dependency #105 - Introduce more serde utilities #92
- Add
impl_fmt_traitsmacro #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
- Re-implement
-
0.2.226 Nov 2025Nothing published for this version
-
0.2.123 May 2024Release notes
Open source →- Add a new
impl_fmt_traitsmacro that can be used to implementfmt::{LowerHex, UpperHex, Display, Debug}#90
- Add a new
-
0.2.027 Feb 2024Release notes
Open source →Breaking changes
There are a bunch of breaking changes in this release, including:
Other improvements
- Bump MSRV to 1.56.1
- For improved ergonomics, add a prelude module #36
- Add a
serdemodule #37 - Remove arbitrary padding limit #41
- Make
fmt_hex_exacthonourFormatter::precision#81
Improve error handling
-
0.1.214 May 2024 -
0.1.119 Jul 2023Release notes
Open source →- Add
test_hex_unwraphex parsing macro for test usage. - Improve formatting hex for bytes slices e.g., support padding.
- Add
-
0.1.012 Jul 2023Release notes
Open source →- Import code from the
bitcoin_hashesandbitcoin-internalscrates. - Add
Iteratorimplementations
- Import code from the
-
0.0.130 Apr 2023Nothing published for this version