mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-19 22:32:26 +02:00
build: remove vendored OpenSSL dependency (#743)
* build: remove vendored OpenSSL dependency * remvoed unnecessary comments and clippy fixes
This commit is contained in:
@@ -99,13 +99,11 @@ fn token_till(stack: &mut String, it: &mut std::str::Chars, stop_char: char, sta
|
||||
#[inline]
|
||||
fn skip_digit(it: &mut std::str::Chars) -> Option<char> {
|
||||
loop {
|
||||
match it.next() {
|
||||
Some(c) => {
|
||||
if !(c == '-' || c == '+' || c.is_ascii_digit()) {
|
||||
return Some(c);
|
||||
}
|
||||
{
|
||||
let c = it.next()?;
|
||||
if !(c == '-' || c == '+' || c.is_ascii_digit()) {
|
||||
return Some(c);
|
||||
}
|
||||
None => return None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ pub async fn process_group_watch(app_config: &Arc<AppConfig>, client: &reqwest::
|
||||
handle_watch_notification(app_config, client, &added_difference, &removed_difference, target_name, &pl.title).await;
|
||||
}
|
||||
} else {
|
||||
error!("failed to load watch_file {}", &path.to_str().unwrap_or_default());
|
||||
error!("failed to load watch_file {}", path.to_str().unwrap_or_default());
|
||||
changed = true;
|
||||
}
|
||||
} else {
|
||||
@@ -45,13 +45,13 @@ pub async fn process_group_watch(app_config: &Arc<AppConfig>, client: &reqwest::
|
||||
match save_watch_tree(save_path, &new_tree).await {
|
||||
Ok(()) => {}
|
||||
Err(err) => {
|
||||
error!("failed to write watch_file {}: {}", save_path.to_str().unwrap_or_default(), err);
|
||||
error!("failed to write watch_file {}: {err}", save_path.to_str().unwrap_or_default());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
None => {
|
||||
error!("failed to write watch_file {}", &watch_filename);
|
||||
error!("failed to write watch_file {watch_filename}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -245,7 +245,7 @@ pub async fn process_playlist_epg(fp: &mut FetchedPlaylist<'_>, epg: &mut Vec<Ep
|
||||
id_cache.collect_epg_id(fp);
|
||||
|
||||
if id_cache.is_empty() && !id_cache.smart_match_enabled {
|
||||
debug!("No epg ids found for input {}", &fp.input.name);
|
||||
debug!("No epg ids found for input {}", fp.input.name);
|
||||
} else {
|
||||
assign_channel_epg(epg, fp, &mut id_cache).await;
|
||||
}
|
||||
|
||||
@@ -1106,7 +1106,7 @@ async fn process_playlist_for_target(
|
||||
|
||||
if new_playlist.is_empty() {
|
||||
step.stop("");
|
||||
info!("Playlist is empty: {}", &target.name);
|
||||
info!("Playlist is empty: {}", target.name);
|
||||
Ok(())
|
||||
} else {
|
||||
// Process Trakt categories
|
||||
|
||||
Reference in New Issue
Block a user