Crate ubl_runtime

Crate ubl_runtime 

Source
Expand description

Runtime/router for DIM dispatch with middleware and UBL logging.

Re-exports§

pub use ctx::AppCtx;
pub use mw::Budgets;
pub use mw::Middleware;
pub use router::FnHandler;
pub use router::HandlerFn;
pub use router::Router;
pub use typed::handle_typed;
pub use web::parse_http_octets;

Modules§

ctx
Application context and logging. Application context wrapper for emitting UBL events during DIM processing.
events
Events emitted to UBL. Structured events emitted to UBL during DIM processing.
mw
Middleware and budget helpers. Middleware traits and budget tracking for DIM processing.
router
DIM router and middleware wiring. DIM router that maps DIM codes to handlers and runs before/after middleware.
typed
Typed handler helper. Typed handler adapter: canonical decode → handler → canonical encode.
web
HTTP octet parsing helpers. HTTP helpers for DIM capsules encoded as octet streams.

Functions§

process
Processa cápsula com middlewares e budgets.