Crate shuttle_next
source ·Expand description
shuttle_next A batteries-included, WASM-based backend web-framework.
Modules§
- HTTP body utilities.
- Error handling model and utilities
- Types and traits for extracting data from requests.
- Async functions that can be used to handle requests.
- A general purpose library of common HTTP types
- Utilities for writing middleware
- Types and traits for generating responses.
- Routing between
Service
s and handlers. - A
Subscriber
for formatting and loggingtracing
data. - The
tracing-subscriber
prelude. - Storage for span data shared by multiple
Layer
s.
Macros§
- Generates a wasm32-wasi module containing an Axum router with your endpoints, which is passed as a hyper::service::Service to a hyper::Server.
Structs§
- Errors that can happen when using axum.
- Extractor and response for extensions.
- Represents an HTTP request.
- The router type for composing handlers and services.
Traits§
- Extension trait that adds additional methods to
Request
. - Extension trait that adds additional methods to
Parts
. - An asynchronous function from a
Request
to aResponse
. - Extension trait that adds additional methods to any
Service
.
Functions§
- Run a future to completion on the current thread.
- Deserialize an instance of type
T
from an I/O stream of MessagePack. - Returns a new
SubscriberBuilder
for configuring a formatting subscriber.
Type Aliases§
- Alias for a type-erased error type.