Crate ripress

Crate ripress 

Source
Expand description

§Ripress

Ripress is a lightweight, modular web framework for building HTTP APIs and web applications in Rust. It provides a simple and flexible API for defining routes, handling requests and responses, and composing middleware.

§Modules

  • app - The main application struct and its methods for configuring and running your server.
  • req - The HTTP request struct and utilities for extracting data from requests.
  • res - The HTTP response struct and methods for building responses.
  • context - Convenient re-exports of common request and response types.
  • helpers - Utility functions and helpers for common web tasks.
  • middlewares - Built-in middleware modules for CORS, logging, file uploads, and rate limiting.
  • router - The router struct and routing logic for organizing endpoints.
  • types - Core types, traits, and enums used throughout the framework.

Modules§

app
The main application struct and its methods for configuring and running your server.
context
Common context types for handler functions.
helpers
Utility functions and helpers for common web tasks.
middlewares
Built-in middleware modules for CORS, logging, file uploads, and rate limiting.
req
The HTTP request struct and its methods for extracting data from requests.
res
The HTTP response struct and its methods for building responses.
router
The router struct and routing logic for organizing endpoints.
types
Core types, traits, and enums used throughout the framework.