2026-08-11 18:07:19 +01:00
|
|
|
# furumi-library
|
|
|
|
|
|
|
|
|
|
Client-independent persistence foundation for Furumi music players.
|
|
|
|
|
|
|
|
|
|
The crate owns the shared `library.db` contract: SQLite schema and migrations,
|
|
|
|
|
catalog models and queries, local import and metadata extraction, artwork
|
|
|
|
|
resolution, playlists, likes, listening history, and similarity index storage.
|
|
|
|
|
It contains no UI, playback engine, or application runtime.
|
|
|
|
|
|
|
|
|
|
During local development clients use a path dependency:
|
|
|
|
|
|
|
|
|
|
```toml
|
|
|
|
|
furumi-library = { path = "../frid/crates/furumi-library" }
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Adjust the relative path to match the position of the client repository. After
|
|
|
|
|
publication, clients can depend on the released crate version instead.
|
|
|
|
|
|
|
|
|
|
`Library::open(default_db_path()?)` opens the same platform-native Furumi
|
|
|
|
|
library used by every client. Connections use WAL, foreign keys, and a busy
|
|
|
|
|
timeout so independently running clients can safely share the database.
|
2026-11-19 15:40:55 +02:00
|
|
|
|
|
|
|
|
Version 0.3 follows `music-dht` 0.6, whose device-sync and podcast contract
|
|
|
|
|
types it re-exposes. Podcast persistence is not part of this release; it will
|
|
|
|
|
implement the rules of the workspace `PODCASTS.md`.
|