cufflink-fn
Write custom Cufflink handlers in Rust that compile to WASM.
This crate wraps the raw WASM host ABI so you write normal Rust code
instead of pointer manipulation. Use it with cufflink services running
in WASM mode.
Quick Start
use *;
init!;
handler!;
Architecture
Organize your code in layers:
- Handlers (thin) — parse request, call operation, return response
- Operations (fat) — validation, business rules, orchestration
- Repos (data) — pure SQL via [
db::query] / [db::execute]