expose tower log feature (#218)

This commit is contained in:
Johannes Becker 2021-08-20 13:41:28 +02:00 committed by GitHub
parent 39a0c26795
commit 7350b817b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,9 +15,10 @@ version = "0.1.3"
members = ["examples/*"]
[features]
default = []
default = ["tower-log"]
ws = ["tokio-tungstenite", "sha-1", "base64"]
multipart = ["multer", "mime"]
tower-log = ["tower/log"]
[dependencies]
async-trait = "0.1"
@ -34,7 +35,7 @@ serde_json = "1.0"
serde_urlencoded = "0.7"
tokio = { version = "1", features = ["time"] }
tokio-util = "0.6"
tower = { version = "0.4", features = ["util", "buffer", "make"] }
tower = { version = "0.4", default-features = false, features = ["util", "buffer", "make"] }
tower-http = { version = "0.1", features = ["add-extension", "map-response-body"] }
sync_wrapper = "0.1.1"