Skip to main content

Module engine

Module engine 

Source
Expand description

Drop-in compatibility layer with crates.io/crates/base64 (v0.22).

Enables friction-free migration: applications can switch to hyper64 in Cargo.toml without altering existing code or imports.

§Example

use hyper64::engine::Engine;
use hyper64::engine::general_purpose::STANDARD;

let encoded = STANDARD.encode(b"Drop-in Base64 Compatibility");
let decoded = STANDARD.decode(&encoded).unwrap();
assert_eq!(decoded, b"Drop-in Base64 Compatibility");

Modules§

general_purpose
Pre-configured standard and URL-safe general-purpose engines.
prelude
Common prelude re-exporting engines and the Engine trait.

Structs§

GeneralPurpose
A general-purpose Base64 engine wrapping a Config.

Traits§

Engine
Core engine trait mirroring base64::Engine.