feat: implement utils.rs and state.rs

utils.rs: natural sort, file fingerprinting, library ID computation,
pretty title formatting, path helpers, clamp, truthy (38 tests)

state.rs: atomic JSON persistence with backup rotation and
fallback loading (8 tests)
This commit is contained in:
Your Name
2026-02-19 01:47:37 +02:00
parent 40d7ce4291
commit 6ecbeb9a9b
3 changed files with 947 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
pub mod state;
pub mod utils;
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()