mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-08 00:42:32 +02:00
36 lines
790 B
Rust
36 lines
790 B
Rust
pub mod file_utils;
|
|
pub mod request_utils;
|
|
pub mod download;
|
|
pub mod string_utils;
|
|
pub mod json_utils;
|
|
pub mod config_reader;
|
|
pub mod default_utils;
|
|
pub mod multi_file_reader;
|
|
pub mod file_lock_manager;
|
|
pub mod compressed_file_reader;
|
|
mod compression_utils;
|
|
pub mod directed_graph;
|
|
pub mod lru_cache;
|
|
pub mod size_utils;
|
|
pub mod sys;
|
|
pub mod atomic_once_flag;
|
|
pub mod xtream_utils;
|
|
pub mod m3u_utils;
|
|
pub mod epg_utils;
|
|
pub mod hash_utils;
|
|
|
|
#[macro_export]
|
|
macro_rules! debug_if_enabled {
|
|
($fmt:expr, $( $args:expr ),*) => {
|
|
if log::log_enabled!(log::Level::Debug) {
|
|
log::log!(log::Level::Debug, $fmt, $($args),*);
|
|
}
|
|
};
|
|
|
|
($txt:expr) => {
|
|
if log::log_enabled!(log::Level::Debug) {
|
|
log::log!(Level::Debug, $txt);
|
|
}
|
|
};
|
|
}
|