build: remove vendored OpenSSL dependency (#743)

* build: remove vendored OpenSSL dependency
* remvoed unnecessary comments and clippy fixes
This commit is contained in:
Juanjo Presa
2026-05-04 19:07:41 +02:00
committed by GitHub
parent b6a89ab298
commit 15e4857d4c
40 changed files with 199 additions and 231 deletions
+4 -6
View File
@@ -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,
}
}
}
+3 -3
View File
@@ -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}");
}
}
}
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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