Registry / utility / base64-compat

base64-compat

JSON →
library1.0.0rscratesunverified

Encodes and decodes base64 as bytes or utf8, compatible with older Rust versions.

# Cargo.toml [dependencies] base64-compat = "1.0.0"
INSTALL
IMPORT
SIG · BASE64-COMPAT
B
base64-compat
utilityrustv1.0.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.

encode
use base64_compat::encode;

Encodes a byte slice to base64 string.

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

No known issues recorded.

Upgrade
Version history
1.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
2
Resources