Dependency update #73

Merged
kdeng00 merged 7 commits from dependency_update into main 2025-10-12 16:57:49 -04:00
2 changed files with 1 additions and 30 deletions
Showing only changes of commit 37f994757a - Show all commits
+1 -1
View File
@@ -1,4 +1,4 @@
pub mod api; pub mod api;
pub mod flags; pub mod flags;
pub mod icarus_action; pub mod icarus_action;
pub mod upload_form; // pub mod upload_form;
-29
View File
@@ -1,32 +1,3 @@
use serde::{Deserialize, Serialize};
#[derive(Debug, Deserialize, Serialize)]
pub struct Checks {}
impl Checks {
pub fn _is_numeric(text: &str) -> bool {
text.parse::<f64>().is_ok()
}
pub fn _index_of_item_in_container<F>(container: &str, item: &char, func: F) -> i32
where
F: Fn(&char, &char) -> bool,
{
let mut index = -1;
for c in container.chars() {
if func(&c, item) {
index += 1;
break;
}
index += 1;
}
index
}
}
pub fn exit_program(code: i32) { pub fn exit_program(code: i32) {
std::process::exit(code); std::process::exit(code);
} }