From db32e1050cf1eae63af0365c97e920f1295b6bea Mon Sep 17 00:00:00 2001 From: Michael Hewson Date: Wed, 25 Nov 2020 15:41:58 -0500 Subject: [PATCH] feat(lib): remove dependency on `tracing`'s `log` feature (#2342) Closes #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. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 03b691c9d6..0e79a0073c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] }