mirror of
https://github.com/robertwayne/axum-htmx
synced 2025-12-18 21:55:17 +01:00
Feature
This commit is contained in:
parent
cbfe4782d8
commit
57e3e067b1
4 changed files with 23 additions and 16 deletions
|
|
@ -15,14 +15,17 @@ default = []
|
|||
unstable = []
|
||||
guards = ["tower", "futures-core", "pin-project-lite"]
|
||||
serde = ["dep:serde", "dep:serde_json"]
|
||||
auto-vary = ["axum", "futures", "tokio"]
|
||||
|
||||
[dependencies]
|
||||
axum-core = "0.4"
|
||||
http = { version = "1.0", default-features = false }
|
||||
async-trait = "0.1"
|
||||
axum = "0.7" # TODO: remove
|
||||
tokio = { version = "1", features = ["sync"] } # TODO: hide behind a feature?
|
||||
futures = "0.3" # TODO
|
||||
|
||||
# Optional dependencies required for the `auto-vary` feature.
|
||||
axum = { version = "0.7", default-features = false, optional = true }
|
||||
tokio = { version = "1", features = ["sync"], optional = true }
|
||||
futures = { version = "0.3", default-features = false, optional = true }
|
||||
|
||||
# Optional dependencies required for the `guards` feature.
|
||||
tower = { version = "0.4", default-features = false, optional = true }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue