#ascii #hex

no-std simple-hex

A simple ASCII hex-to-bytes-and-back library

1 unstable release

Uses old Rust 2015

0.1.0 Dec 7, 2018

#47 in #ascii

Download history 27/week @ 2021-01-07 27/week @ 2021-01-14 26/week @ 2021-01-21 28/week @ 2021-01-28 24/week @ 2021-02-04 26/week @ 2021-02-11 27/week @ 2021-02-18 27/week @ 2021-02-25 24/week @ 2021-03-04 24/week @ 2021-03-11 32/week @ 2021-03-18 30/week @ 2021-03-25 24/week @ 2021-04-01 26/week @ 2021-04-08 26/week @ 2021-04-15 27/week @ 2021-04-22

108 downloads per month
Used in 3 crates (2 directly)

0BSD license

3KB
57 lines

This is a (very!) simple library that turns nibbles into hex characters and vice versa. I wrote this to avoid pulling in core::fmt (and because it was faster than finding an alternative).


lib.rs:

Helper functions to convert between bytes and hex-encoded characters

No runtime deps