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

master
Damir Jelić 2020-07-15 14:05:22 +02:00
parent 3315cf5bc6
commit bf152df322
1 changed files with 3 additions and 1 deletions

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;