add AppState derive macro for convenient state extraction

This commit is contained in:
fa-sharp
2026-03-19 22:02:08 -04:00
parent a8d5e4f962
commit c4e7f06247
5 changed files with 114 additions and 1 deletions

10
Cargo.lock generated
View File

@@ -53,10 +53,20 @@ version = "0.1.0"
dependencies = [
"anyhow",
"axum",
"axum-app-wrapper-macros",
"futures",
"type-map",
]
[[package]]
name = "axum-app-wrapper-macros"
version = "0.1.0"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "axum-core"
version = "0.5.5"