Add Resource to axum-extra (#538)

This commit is contained in:
David Pedersen
2021-11-17 22:31:43 +00:00
committed by GitHub
parent b43b9ed69d
commit f9a437d081
4 changed files with 317 additions and 0 deletions
+8
View File
@@ -15,5 +15,13 @@ erased-json = ["serde", "serde_json"]
[dependencies]
axum = { path = "../axum", version = "0.3" }
tower-service = "0.3"
# optional dependencies
serde = { version = "1.0.130", optional = true }
serde_json = { version = "1.0.71", optional = true }
[dev-dependencies]
hyper = "0.14"
tokio = { version = "1.14", features = ["full"] }
tower = { version = "0.4", features = ["util"] }