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 !!! DO NOT USE DIRECTLY!!!
  • A collection of request types and utilities.
  • A collection of response types and utilities.

Macros§

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

Structs§

Type Aliases§

  • A specialized Result type for Catalyzer operations.

Attribute Macros§

  • A route handler for the DELETE method.
  • A route handler for the GET method.
  • A route handler for the HEAD method.
  • Marks a function as the main entry point for the application.
  • A route handler for the OPTIONS method.
  • A route handler for the PATCH method.
  • A route handler for the POST method.
  • A route handler for the PUT method.
  • A route handler for the TRACE method.