Registry / utility / data-encoding-macro

data-encoding-macro

JSON →
library0.1.20rscratesunverified

Provides macros for encoding and decoding data using common formats like hex and base64.

# Cargo.toml [dependencies] data-encoding-macro = "0.1.20"
INSTALL
IMPORT
SIG · DATA-ENCODING-MACR
D
data-encoding-macro
utilityrustv0.1.20
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 data_encoding_macro::hex_encode;

Encodes a byte slice to a hex string using the hex_encode macro.

use data_encoding_macro::hex_encode; fn main() { let encoded = hex_encode!(b"hello"); println!("{}", encoded); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.20latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
data-encoding-macro — cargo add data-encoding-macro · libregistry