Registry / utility / hex-lit

hex-lit

JSON →
library0.1.1rscratesunverified

Hex macro literals without use of hex macros.

# Cargo.toml [dependencies] hex_lit = "0.1.1"
INSTALL
IMPORT
SIG · HEX-LIT
H
hex-lit
utilityrustv0.1.1
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
use hex_lit::hex;

Parses a hex string literal into bytes at compile time.

use hex_lit::hex; fn main() { let data = hex!("deadbeef"); println!("Hex literal parsed"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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