Crate catalyzer

Expand description

Catalyzer is a web framework for Rust, made to be simple and easy to use.

§Example

use catalyzer::*;
 
#[main]
fn main() {
    App![index]
        .bind("0.0.0.0:3000")?
        .launch()
}
 
#[get("/")]
fn index() {
    "Hello, world!"
}

Modules§

internals
!!! INTERNALS !!! DO NOT USE DIRECTLY!!!
req
A collection of request types and utilities.
res
A collection of response types and utilities.

Macros§

App
A shortcut for creating an App instance.
catalyze
Allows for simplistic creation of web applications.

Structs§

App
The main application type.
CatalyzerError
An error type for Catalyzer operations.

Type Aliases§

Result
A specialized Result type for Catalyzer operations.

Attribute Macros§

delete
A route handler for the DELETE method.
get
A route handler for the GET method.
head
A route handler for the HEAD method.
main
Marks a function as the main entry point for the application.
options
A route handler for the OPTIONS method.
patch
A route handler for the PATCH method.
post
A route handler for the POST method.
put
A route handler for the PUT method.
trace
A route handler for the TRACE method.