Viz

Macros for Viz

Safety! Docs.rs docs Crates.io version Download
## Macros | Macro | Description | | ----------- | -------------------------------- | | **handler** | Extended Handler with Extractors | ## Example ```rust use viz::{IntoResponse, Result, types::{Params}}; use viz_macros::handler; #[handler] fn about() -> impl IntoResponse { } #[handler] async fn index() -> impl IntoResponse { () } #[handler] async fn get_user(Params(name): Params) -> Result { Ok(name) } ``` ## License This project is licensed under the [MIT license](LICENSE). ## Author - [@fundon@fosstodon.org](https://fosstodon.org/@fundon) - [@\_fundon](https://twitter.com/_fundon)