| Crates.io | best_utils_lib_ever |
| lib.rs | best_utils_lib_ever |
| version | 0.1.2 |
| created_at | 2025-03-05 21:55:50.037841+00 |
| updated_at | 2025-03-05 22:15:18.038311+00 |
| description | Best utility library/crate ever made! |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1579887 |
| size | 8,937 |
reverse(text: &str) -> String: Reverses a given string. to_uppercase(text: &str) -> String: Converts all lowercase letters to uppercase (and vice versa with to_lowercase). replace_all(text: &str, old_sub: &str, new_sub: &str) -> String: Replaces all occurrences of a substring with another. pub fn initcap(text: &str) -> String: Will return original string with first letter capitalized
read_file(path: &str) -> Result<String, String>: Reads file contents gracefully, handling errors.
write_file(path: &str, content: &str) -> Result<(), String>: Writes text to a file, catching any issues.
modification_time(path: &str) -> Result<Duration, Box
sort_data(data: &mut Vec