remove tracing feature (now just use tracing)

This commit is contained in:
OMGeeky
2023-07-15 17:46:56 +02:00
parent 050b4f8ac0
commit f4982df4cd
3 changed files with 3 additions and 12 deletions

View File

@@ -29,10 +29,4 @@ futures = "0.3"
async-recursion = "1.0.0"
log = "0.4"
simplelog = "0.12.1"
tracing = { version = "0.1", optional = true }
[features]
tracing = ["dep:tracing","downloader_config/tracing", "exponential_backoff/tracing"]
tracing = "0.1"

View File

@@ -2,10 +2,10 @@
use std::error::Error;
use std::path::Path;
use std::path::PathBuf;
use tracing::info;
use twitch_data::combine_parts_into_single_ts;
use twitch_data::convert_ts_to_mp4;
use twitch_data::get_client;
use twitch_data::prelude::*;
use twitch_data::sort_video_part_filenames;
#[tokio::main]

View File

@@ -1,4 +1 @@
#[cfg(not(feature = "tracing"))]
pub use log::{debug, error, info, trace, warn};
#[cfg(feature = "tracing")]
pub use tracing::{debug, error, info, trace, warn};
pub(crate) use tracing::{debug, error, info, trace, warn};