matrix-sdk: Hide some tracing imports behind the encryption flag.

This commit is contained in:
Damir Jelić 2020-07-15 14:05:22 +02:00
parent 3315cf5bc6
commit bf152df322

View file

@ -29,7 +29,9 @@ use matrix_sdk_common::uuid::Uuid;
use futures_timer::Delay as sleep;
use std::future::Future;
use tracing::{debug, error, info, instrument, trace, warn};
#[cfg(feature = "encryption")]
use tracing::{debug, warn};
use tracing::{error, info, instrument, trace};
use http::Method as HttpMethod;
use http::Response as HttpResponse;