Expand description
Progressive Rust web framework primitives for A3S.
a3s-boot is inspired by Nest.js, but keeps the Rust core explicit:
modules organize the graph, providers live in a typed container, controllers
group routes, request pipeline hooks are framework-neutral, and HTTP serving
is delegated to replaceable adapters.
Structs§
- Axum
Adapter - Axum-backed HTTP adapter.
- Boot
Application - Built application with a resolved module graph and framework-neutral routes.
- Boot
Application Builder - Builder for a
BootApplication. - Boot
Request - Framework-neutral HTTP request passed to Boot route handlers.
- Boot
Response - Framework-neutral HTTP response returned by Boot route handlers.
- Controller
Definition - Group routes under a common HTTP prefix, similar to a Nest controller.
- Execution
Context - Request context visible to guards, interceptors, pipes, and filters.
- Module
Ref - Runtime provider container. This is Boot’s Rust equivalent of Nest’s ModuleRef.
- Provider
Definition - A provider registration, similar to a Nest provider entry.
- Provider
Token - Stable lookup key for an injectable provider.
- Route
Definition - A framework-neutral route definition.
- Route
Match - Resolved route and decoded path parameters for a method/path lookup.
- SseEvent
Enums§
- Boot
Error - Errors returned while building or serving a Boot application.
- Http
Method - HTTP method understood by Boot route definitions.
Traits§
- Exception
Filter - Maps route/pipeline errors to HTTP responses.
- Guard
- Decides whether a route handler can run.
- Http
Adapter - Adapter that turns a Boot application into a concrete HTTP server/router.
- Interceptor
- Runs around the handler for cross-cutting behavior.
- Module
- A module contributes imports, providers, controllers, and routes.
- Pipe
- Transforms a request before guards and handlers run.
- Route
Handler - Type-erased route handler used by adapters.