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
//! A Rust client for BigML's REST API.

// Needed for serde_derive until Macros 1.1 stablizes (in Rust 1.15?).
#![feature(proc_macro)]

// Needed for error-chain.
#![recursion_limit = "1024"]

#![warn(missing_docs)]

extern crate chrono;
#[macro_use]
extern crate error_chain;
#[macro_use]
extern crate lazy_static;
#[macro_use]
extern crate log;
extern crate mime;
#[cfg(feature="postgres")]
#[macro_use]
extern crate postgres;
extern crate reqwest;
extern crate serde;
#[macro_use]
extern crate serde_derive;
extern crate serde_json;
extern crate url;
extern crate uuid;

pub use client::Client;
pub use errors::*;

mod client;
mod errors;
mod multipart_form_data;
pub mod resource;
mod util;

#[cfg(test)]
mod tests {
    #[test]
    fn it_works() {
    }
}