Crate tsukuyomi[][src]

Tsukuyomi is a next generation Web framework for Rust.

Modules

app

The definition of components for constructing the HTTP applications.

error

Components for constructing and handling HTTP errors.

handler

Components for managing the handler functions.

input

Components for parsing incoming HTTP requests.

json

Components for parsing JSON values and creating JSON responses.

local

A testing framework for Tsukuyomi.

modifier

Components for supporting modifiers.

output

Components for constructing HTTP responses.

router

The implementation of router.

rt
server

The implementation of low level HTTP server.

Structs

App

The main type which represents an HTTP application.

Error

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

Handler

A type for wrapping the handler function used in the framework.

Input

Contextual information used by processes during an incoming HTTP request.

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.