Crate tsukuyomi[][src]

Tsukuyomi is a next generation Web framework for Rust.

Modules

app

The definition of components for constructing the HTTP applications.

context

Components for managing the contextural information throughout the handling.

error

Components for constructing and handling HTTP errors.

future

A compatible layer for preparing the migration to the standard task system.

header

The definition of statically typed headers.

input

Components for parsing incoming HTTP requests.

json

Components for parsing JSON values and creating JSON responses.

mime

The definition of media types.

modifier

[unstable] Components for supporting for modifiers.

output

Components for constructing HTTP responses.

router

[unstable] The implementation of router used by the framework.

server

The implementation of low level HTTP server.

session

[unstable] Components for managing the session variables and storage.

upgrade

[unstable] Components for HTTP/1.1 upgrade mechanism.

Macros

ready

Structs

App

The main type in this framework, which represents an HTTP application.

Context

Contextural values used by handlers during processing an incoming HTTP request.

Error

A type which holds all kinds of errors occurring in handlers.

Functions

run

Starts an HTTP server with a constructed App and the default server configuration.

Type Definitions

AppResult

A type alias of Result<T, E> which will be returned from run.

Result

A type alias of Result<T, E> with error::Error as error type.