Skip to main content Crate toku_core Copy item path Source pub use filter ::*;pub use stats ::*;filter stats Author An author or other contributor. Book A book in the user’s library. Each row represents an edition (Book = Edition).
Set work_id to link this edition to a Work for grouping. BookAuthor A book-to-author relationship with role and ordering. BookSeries A book’s position within a series. Position is TEXT to handle “1.5”, “2a”, etc. ReadingProgress A timestamped reading progress entry. ReadingSession A reading session tracks a single reading attempt of a book. Series A named series of books. Shelf A user-defined shelf for organizing books (e.g. “Favorites”, “To Re-read”).
Smart shelves have is_smart = true and a smart_filter that dynamically matches books. Tag A user-defined tag for categorizing books (e.g. “sci-fi”, “Hugo winner”).
Tag names are case-insensitive. Tags are unique by (name, tag_type). TokuConfig Application configuration, persisted as config.toml in the data directory. Work A Work groups multiple editions (Books) of the same creative work.
E.g. “Dune” hardcover, paperback, and Kindle editions share one Work. BookFormat Physical book, ebook, or audiobook. ContributorRole Contributor role for a book. Isbn A validated ISBN (either ISBN-10 or ISBN-13). PaceRating Pace rating for a book: fast, medium, or slow. ProgressType Type of reading progress entry. ReadingStatus Reading lifecycle states. TagType Type of tag: general, mood, pace, or content warning. TokuError parse_duration_to_minutes Parse a human-friendly duration string into total minutes.