Skip to content

Commit

Permalink
Expose tracing/log feature (#861)
Browse files Browse the repository at this point in the history
  • Loading branch information
johannescpk authored Jun 5, 2021
1 parent a337daf commit ab31398
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ serde_urlencoded = "0.7"
tokio = { version = "1.0", features = ["fs", "sync", "time"] }
tokio-stream = "0.1.1"
tokio-util = { version = "0.6", features = ["io"] }
tracing = { version = "0.1.21", default-features = false, features = ["log", "std"] }
tracing = { version = "0.1.21", default-features = false, features = ["std"] }
tower-service = "0.3"
tokio-tungstenite = { version = "0.14", optional = true }
percent-encoding = "2.1"
Expand All @@ -52,10 +52,11 @@ tokio-stream = { version = "0.1.1", features = ["net"] }
listenfd = "0.3"

[features]
default = ["multipart", "websocket"]
default = ["multipart", "websocket", "trace-log"]
websocket = ["tokio-tungstenite"]
tls = ["tokio-rustls"]
compression = ["async-compression"]
trace-log = ["tracing/log"]

[profile.release]
codegen-units = 1
Expand Down

0 comments on commit ab31398

Please sign in to comment.