mirror of
https://github.com/robertwayne/axum-htmx
synced 2025-12-18 13:45:17 +01:00
provide basic responder functionality without serde, json features with serde feature
This commit is contained in:
parent
a32274e280
commit
ad16b10fc6
4 changed files with 252 additions and 137 deletions
|
|
@ -11,9 +11,9 @@ version = "0.3.1"
|
|||
edition = "2021"
|
||||
|
||||
[features]
|
||||
default = [ "responders" ]
|
||||
default = [ ]
|
||||
guards = ["tower", "futures-core", "pin-project-lite"]
|
||||
responders = ["serde", "serde_json"]
|
||||
serde = [ "dep:serde", "dep:serde_json" ]
|
||||
|
||||
[dependencies]
|
||||
axum = { git = "https://github.com/tokio-rs/axum", branch = "main", default-features = false }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue