spotify_cli/storage/mod.rs
1//! Persistent storage for configuration, tokens, and pins.
2//!
3//! All data is stored in the user's config directory:
4//! - Linux/macOS: `~/.config/spotify-cli/`
5//! - Windows: `%APPDATA%/spotify-cli/`
6//!
7//! ## Files
8//!
9//! - `config.toml` - User configuration (client_id, search settings)
10//! - `token.json` - OAuth access and refresh tokens (fallback)
11//! - `pins.json` - Pinned resource shortcuts
12//!
13//! ## Secure Storage
14//!
15//! Tokens can be stored securely in the system keychain:
16//! - macOS: Keychain
17//! - Linux: Secret Service (GNOME Keyring, KWallet)
18//! - Windows: Windows Credential Manager
19
20pub mod config;
21pub mod fuzzy;
22pub mod keyring;
23pub mod paths;
24pub mod pins;
25pub mod token_store;
26pub mod unified_token;