1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! # trakt-rust
//!
//! A api wrapper in Rust for trakt.tv
//!
//! ## Installation
//!
//! Not yet released but you may add
//! ```toml
//! trakt = { git = "https://github.com/Lichthagel/trakt-rust" }
//! ```
//! to your dependencies
//!
//! ## Examples
//!
//! TODO
//!
//! ## License
//!
//! [MIT][license]
//!
//! [license]: https://github.com/Lichthagel/trakt-rust/blob/master/LICENSE

#[macro_use]
extern crate serde_derive;
extern crate chrono;
extern crate serde;
#[cfg(test)]
#[macro_use]
extern crate serde_json;

#[macro_use]
mod macros;
#[cfg(feature = "async")]
pub mod asyn;
pub mod error;
pub mod extended_info;
pub mod filters;
pub mod models;
pub mod prelude;
pub mod pagination;
pub mod selectors;
#[cfg(feature = "sync")]
pub mod sync;

#[cfg(feature = "sync")]
pub use crate::sync::{Result, TraktApi};