Registry / utility / hex-slice

hex-slice

JSON →
library0.1.4rscratesunverified

Extends the std::fmt::*Hex traits to slices for formatted hexadecimal output.

# Cargo.toml [dependencies] hex-slice = "0.1.4"
INSTALL
IMPORT
SIG · HEX-SLICE
H
hex-slice
utilityrustv0.1.4
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.

HexSlice
use hex_slice::HexSlice;

Prints a byte slice as hexadecimal.

use hex_slice::HexSlice; let data = [0xde, 0xad, 0xbe, 0xef]; let hex = HexSlice::new(&data); println!("{}", hex);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hex-slice — cargo add hex-slice · libregistry