provide basic responder functionality without serde, json features with serde feature

This commit is contained in:
Paul Zinselmeyer 2023-10-22 20:45:48 +02:00
parent a32274e280
commit ad16b10fc6
Signed by: pfzetto
GPG key ID: 4EEF46A5B276E648
4 changed files with 252 additions and 137 deletions

View file

@ -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 }