PackageTrack
Sign in Get early access

base16

base16 (hex) encoding and decoding

0.2.1 14M downloads/mo #2552 most downloaded on crates.io thomcc/rust-base16

What this package is like to depend on

Last release 7 years ago

no release in 18 months

Ships fairly regularly

a new release about every 7 months

Some releases are documented

notes for 2 of 5 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

5 releases · first in 2018

0 releases in the last 12 months

see the full history below

Release timeline

5 releases · May 2018 to Jul 2019
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 5
  1. 0.2.1 08 Jul 2019
    Release notes
    • Make code more bulletproof in the case of panics when using the decode_buf or encode_config_buf functions.
    • Additionally, several functions that previously used unsafe internally now either use less unsafe, or are entirely safe.
    Open source →
    Release notes
    • Make code more bulletproof in the case of panics when using the decode_buf or encode_config_buf functions.

      Previously, if the innermost encode/decode function paniced, code that inspected the contents of the Vec (either in a Drop implementation, or by catching the panic) could read from uninitialized memory.

      However, I don't believe it is possible for the innermost encode/decode functions to panic, so I don't think there was any risk in previous versions.

      I don't believe the panic is possible because only two panics exist in the generated assembly (both only in debug configuration, and not in release). The two panics are respectively:

      • a debug_assert verifying the caller performed a check (which it does).

      • a usize overflow check on an index variable, which is impossible as we've already tested for that.

      That said, this is some powerful rationalization, so I'm cutting a new version with this fix anyway.

    • Additionally, several functions that previously used unsafe internally now either use less unsafe, or are entirely safe.

    Open source →
  2. 0.2.0 07 Jul 2019
    Release notes
    • encode_byte now returns [u8; 2] instead of (u8, u8), as in practice this tends to be more convenient.
    • The use of std which requires the alloc trait has been split into the alloc feature.
    • base16 has been relicensed as CC0-1.0 from dual MIT/Apache-2.0.
    Open source →
    Release notes
    • encode_byte now returns [u8; 2] instead of (u8, u8), as in practice this tends to be more convenient.

    • The use of std which requires the alloc trait has been split into the alloc feature.

    • base16 has been relicensed as CC0-1.0 from dual MIT/Apache-2.0.

    Open source →
  3. 0.1.2 11 Apr 2019

    Nothing published for this version

  4. 0.1.1 02 May 2018

    Nothing published for this version

  5. 0.1.0 02 May 2018

    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