Tauri is only the host. Your application is a set of Rust modules, put together in one function, the composition root. The desktop window, an AI client and your tests all drive that same application.
Below it, the Origin crates provide sign-in, sync, jobs and storage against small traits. Adapters fill those traits with SQLite, the system keychain and native notifications, and each one can be swapped without touching your features.