#![doc(html_root_url = "https://docs.rs/thetvdb/0.1.0-beta.2")]
#![deny(missing_docs)]
mod serialization;
mod urls;
pub mod client;
pub mod error;
pub mod language;
pub mod params;
pub mod response;
pub use client::Client;
#[cfg(test)]
mod test_util {
use chrono::{DateTime, TimeZone, Utc};
use crate::error::Error;
pub fn now_round_seconds() -> DateTime<Utc> {
Utc.timestamp(Utc::now().timestamp(), 0)
}
pub fn wrong_error_kind(expected: Error, got: Error) {
panic!("Wrong error kind: expected {:?}, got {:?}", expected, got);
}
}