Skip to main content

reader/
lib.rs

1//! Media file reader for Kopuz: parses audio metadata (tags, cover art),
2//! manages favorites, and provides library scanning utilities.
3
4#[cfg(not(target_arch = "wasm32"))]
5pub mod cover_fetcher;
6#[cfg(not(target_arch = "wasm32"))]
7pub mod metadata;
8pub mod models;
9#[cfg(not(target_arch = "wasm32"))]
10pub mod scanner;
11#[cfg(not(target_arch = "wasm32"))]
12pub mod utils;
13
14#[cfg(not(target_arch = "wasm32"))]
15pub use metadata::{read, read_cover, write_tags};
16pub use models::{
17    Album, ArtistImageRef, CoverChange, FavoritesStore, Library, PlaylistFolder, PlaylistStore,
18    Track, TrackEdits, TrackId,
19};
20#[cfg(not(target_arch = "wasm32"))]
21pub use scanner::scan_directory;