Here's a list of ideas for helper functions/modules. These are designed to help people write criteria, especially people who aren't very familiar with rust. Even if it just saves a few lines of code, it might be worth it. For example, there's a file_exists helper, even though you can check that in a couple of lines with a PathBuf. I'm expecting people who just got introduced to rust to use it (if anyone uses it lmao)
CLI
System
Web
Here's a list of ideas for helper functions/modules. These are designed to help people write criteria, especially people who aren't very familiar with rust. Even if it just saves a few lines of code, it might be worth it. For example, there's a
file_existshelper, even though you can check that in a couple of lines with aPathBuf. I'm expecting people who just got introduced to rust to use it (if anyone uses it lmao)CLI
Command::new()and handle the platform differencesSystem
Programenum andVersionstruct under thesystemhelpers moduleWeb