capy-http
Axum routing and JSON response conveniences for Capy.
Applications normally depend on capy-framework as capy and use its public facade.
Production Foundation (0.4.0) adds Capy Path, Query, and Json
adapters with safe JSON rejections. Native behavior remains under the facade's
capy::axum re-export. Pagination and Page<T> provide bounded query conventions:
page 1, 20 items by default, maximum 100; callers execute a bounded database query
and map rows to public response structs before constructing a page.
Routes keeps explicit metadata alongside its inventory. Capy 0.9's opt-in strict
contract check rejects undocumented public API routes. contract_exempt and
map_router_exempt require explicit reasons; native router edits otherwise fail
strict coverage. merge preserves route metadata and exemptions. See
strict contracts.
MIT licensed. See LICENSE. This is an initial developer preview, not a production-readiness claim.