//! Async client for the Libby (OverDrive) account and catalog APIs. //! //! Three services matter: //! //! * **sentry** (`sentry.libbyapp.com`) — the account API. Authenticated with a //! bearer *identity* token; owns cards, loans, holds and fulfilment. //! * **thunder** (`thunder.api.overdrive.com/v2`) — the public catalog. No //! authentication; owns libraries, search and availability. //! * **locate** (`locate.libbyapp.com`) — the library finder by place. //! //! The client is deliberately polite. Account requests are serialized and //! paced, because libraries suspend cards that look automated, and a //! suspension lands on a person's real library card. See [`Client`]. #![warn(missing_docs)] pub mod client; pub mod error; pub mod ids; pub mod links; pub mod models; pub mod query; pub mod sanitize; pub mod time; pub use client::{BorrowOptions, Client, ClientConfig, Fulfillment, Identity, ReaderPassport}; pub use error::{Error, Result, Service}; pub use ids::{CardId, FormatId, LibraryKey, ReserveId, TitleId, WebsiteId}; pub use query::SearchQuery;