7 releases (4 breaking)
| 0.8.0 | Dec 28, 2022 |
|---|---|
| 0.7.0 | Jul 23, 2022 |
| 0.6.2 | Jun 29, 2022 |
| 0.5.1 | Jun 26, 2022 |
| 0.1.0 |
|
#1179 in Parser implementations
113,159 downloads per month
Used in 47 crates
(19 directly)
195KB
5.5K
SLoC
SIMD-accelerated hex encoding and decoding.
Examples
use hex_simd::AsciiCase;
let bytes = b"Hello world!";
let encoded = hex_simd::encode_to_string(bytes, AsciiCase::Lower);
assert_eq!(encoded, "48656c6c6f20776f726c6421");
let decoded = hex_simd::decode_to_vec(encoded).unwrap();
assert_eq!(decoded, bytes);
hex-simd
SIMD-accelerated hex encoding and decoding.
Documentation: https://docs.rs/hex-simd
Repository: https://github.com/Nugine/simd