//! arr-meta — TMDB client. See `DESIGN.md` §5.2, §6.2 and §12. //! //! Two fields carry the weight here and neither is decoration: //! //! - `original_language` (plus the origin country that disambiguates `pt`) is //! what the whole dub rule in §5.2 is expressed against. //! - The digital release date gates targeted search (§6.2). A movie with no //! digital release date must get zero searches. //! //! Responses are cached in process with a time-to-live, defaulting to a day, //! because metadata refresh is a daily tick (§8) and not a per-request cost. // `unused_crate_dependencies` is a per-target lint and the library's own test // target links the dev-dependencies without using them. The real uses are in // `tests/`. #[cfg(test)] use {tokio as _, wiremock as _}; mod cache; mod client; mod error; mod model; pub use client::{TmdbClient, TmdbClientBuilder, DEFAULT_BASE_URL, DEFAULT_CACHE_TTL}; pub use error::{Error, Result}; pub use model::{Movie, MovieSearchResult};