#fret #router #typed #message #routing #prefetch

fret-router

Typed message routing and router composition utilities for Fret applications

1 unstable release

Uses new Rust 2024

0.1.0 Apr 8, 2026

#2231 in HTTP server


Used in 2 crates

MIT/Apache

235KB
6K SLoC

Router-oriented URL helpers for Fret ecosystem crates.

This crate is intentionally lightweight in v1: it provides portable parsing helpers and leaves policy-heavy routing behavior in app/ecosystem layers.


fret-router

Typed message routing and router composition utilities for Fret applications.

This crate is intentionally lightweight in v1: it provides portable parsing/helpers and leaves policy-heavy routing behavior in app/ecosystem layers.

Status

Experimental learning project (not production-ready).

Features

  • web-history: wasm32 adapter for browser history-based navigation
  • hash-routing: wasm32 adapter for hash-based navigation
  • query-integration: integrates with fret-query for route-change invalidation/prefetch planning

Dependencies

~0–4MB
~64K SLoC