Registry / utility / data-encoding

data-encoding

JSON →
library2.11.0rscratesunverified

Efficient and customizable data-encoding functions like base64, base32, and hex.

utility
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.

use data_encoding::BASE64;

Encoding and decoding a string with base64.

use data_encoding::BASE64; let encoded = BASE64.encode(b"hello world"); println!("Encoded: {}", encoded); let decoded = BASE64.decode(encoded.as_bytes()).unwrap(); assert_eq!(decoded, b"hello world");
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
12 hits · last 30 days
gptbot
3
claudebot
3
ahrefsbot
1
Resources