ayun-server 0.24.0

The RUST Framework for Web Rustceans.
Documentation
#[cfg(feature = "config")]
pub mod config;
pub mod error;
pub mod middleware;
pub mod request;
pub mod response;
pub mod router;
pub mod support;
pub mod traits;

pub type ServerResult<T, E = error::Error> = Result<T, E>;

pub type Request = axum::extract::Request;

pub type Response = ServerResult<axum::response::Response>;

pub type Middleware = BoxCallback<axum::Router, ServerResult<axum::Router>>;

#[allow(dead_code)]
#[derive(Clone, Default)]
pub struct Server {
    inner: axum::Router,
}

// re-export
pub use ayun_core::*;