refactor(lib): Import tracing macros per-module

Instead of one #[macro_use] at the crate root.
This commit is contained in:
Jonas Platte
2021-08-29 14:31:20 +02:00
committed by Sean McArthur
parent 165ada34a3
commit a81c44f2c8
23 changed files with 35 additions and 16 deletions

View File

@@ -14,6 +14,8 @@ use std::marker::Unpin;
use bytes::Bytes;
use tokio::io::{AsyncRead, AsyncWrite, ReadBuf};
use tokio::sync::oneshot;
#[cfg(any(feature = "http1", feature = "http2"))]
use tracing::trace;
use crate::common::io::Rewind;
use crate::common::{task, Future, Pin, Poll};