Crate tsukuyomi

source ·
Expand description

Tsukuyomi is an asynchronous Web framework for Rust.

Modules

Components for constructing HTTP applications.
Components for constructing and handling HTTP errors.
High level API for accessing request data and context information.
The basic components for serving static files.
Definition of Handler.
Components for accessing HTTP requests and global/request-local data.
An implementation of typemap for managing request-local data.
The definition of Modifier.
Components for constructing HTTP responses.
Primitives and re-exports for handling asynchronous tasks.
The implementation of low level HTTP server.
Utilities for testing HTTP services.

Macros

A macro to start building an App.
A macro to start building a Route.
A macro to start building a Scope.

Structs

A type which holds all kinds of errors occurring in handlers.
A proxy object for accessing the contextual information about incoming HTTP request and global/request-local state.

Enums

A helper type which emulates the standard never_type (!).

Traits

A trait abstracting the extraction of values from Input.
A trait representing the handler associated with the specified endpoint.
A trait representing error values to be converted into an HTTP response.
A trait representing a Modifier.
A trait representing the conversion to an HTTP response.

Type Definitions

The type representing outputs returned from handlers.
A type alias of Result<T, E> with error::Error as error type.

Derive Macros