runique 3.0.2

A Django-inspired web framework for Rust with ORM, templates, and comprehensive security middleware
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Macro to build routes with GET/POST/PUT/DELETE/PATCH in a single line

#[macro_export]
macro_rules! view {
    // Single handler managing all methods
    ($handler:expr) => {
        $crate::axum::routing::get($handler)
            .post($handler)
            .put($handler)
            .delete($handler)
            .patch($handler)
    };
}