Registry / utility / faster-hex

faster-hex

JSON →
library0.10.0rscratesunverified

Fast hex encoding and decoding for Rust, optimized for performance.

# Cargo.toml [dependencies] faster-hex = "0.10.0"
INSTALL
IMPORT
SIG · FASTER-HEX
F
faster-hex
utilityrustv0.10.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hex_encode
✓ use faster_hex::hex_encode;

Encodes a byte slice into a hexadecimal string.

use faster_hex::hex_encode; fn main() { let bytes = b"hello"; let mut hex = vec![0u8; bytes.len() * 2]; hex_encode(bytes, &mut hex).unwrap(); println!("Hex: {}", std::str::from_utf8(&hex).unwrap()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.10.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
faster-hex — cargo add faster-hex · libregistry