mirror of
https://github.com/OMGeeky/twitch_data.git
synced 2025-12-26 16:27:24 +01:00
remove tracing feature (now just use tracing)
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user