feat: docs
This commit is contained in:
parent
a335490717
commit
5696c4e346
3 changed files with 9 additions and 0 deletions
|
@ -2,6 +2,12 @@
|
|||
name = "leptos_reactive_axum_macros"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
description = "reactive context for axum handlers"
|
||||
authors = ["davidontop <me@davidon.top>"]
|
||||
readme = "../README.md"
|
||||
documentation = "https://docs.rs/leptos_reactive_axum_macros"
|
||||
license = "MIT"
|
||||
repository = "https://git.davidon.top/public/leptos_reactive_axum.git"
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
mod reactive;
|
||||
|
||||
/// macro that when applied on an axum handler will provide leptos_reactive runtime and will allow you to use `leptos_reactive_axum::extract` by providing a context holding request parts
|
||||
#[proc_macro_attribute]
|
||||
pub fn reactive(
|
||||
attr: proc_macro::TokenStream,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue