oxidized 0.1.0

A hyper-performant, modular, and asynchronous web framework for Rust, built on hyper and tokio. Featuring a Tower-inspired, Service-based architecture for maximum performance and composability.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::{
    http_request::{Body, Request, RequestParts},
    Result,
};
use async_trait::async_trait;

#[async_trait]
pub trait FromRequest: Sized {
    async fn from_request(parts: &mut RequestParts, body: Body) -> Result<Self>;
}