Skip to content

Commit

Permalink
feat(lib): remove dependency on tracing's log feature (hyperium#2342
Browse files Browse the repository at this point in the history
)

Closes hyperium#2326

BREAKING CHANGE: hyper no longer emits `log` records automatically.
  If you need hyper to integrate with a `log` logger (as opposed to `tracing`),
  you can add `tracing = { version = "0.1", features = ["log"] }` to activate them.
  • Loading branch information
mikeyhew authored and Benxiang Ge committed Jul 26, 2021
1 parent a6ac513 commit 33a5c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ httpdate = "0.3"
httparse = "1.0"
h2 = { git = "https://github.com/hyperium/h2", optional = true }
itoa = "0.4.1"
tracing = { version = "0.1", default-features = false, features = ["log", "std"] }
tracing = { version = "0.1", default-features = false, features = ["std"] }
pin-project = "1.0"
tower-service = "0.3"
tokio = { version = "0.3.4", features = ["sync", "stream"] }
Expand Down

0 comments on commit 33a5c65

Please sign in to comment.