mirror of
https://github.com/robertwayne/axum-htmx
synced 2025-12-18 13:45:17 +01:00
Add router request guard layer
This commit is contained in:
parent
ffb2b7d66e
commit
6c0a8cde21
4 changed files with 161 additions and 5 deletions
11
Cargo.toml
11
Cargo.toml
|
|
@ -7,8 +7,17 @@ repository = "https://github.com/robertwayne/axum-htmx"
|
|||
categories = ["web-programming"]
|
||||
keywords = ["axum", "htmx", "header", "extractor"]
|
||||
readme = "README.md"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
guards = ["tower", "futures-core", "pin-project-lite"]
|
||||
|
||||
[dependencies]
|
||||
axum = { git = "https://github.com/tokio-rs/axum", branch = "main", default-features = false }
|
||||
|
||||
# Optional dependencies
|
||||
tower = { version = "0.4", default-features = false, optional = true }
|
||||
futures-core = { version = "0.3", optional = true }
|
||||
pin-project-lite = { version = "0.2", optional = true }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue