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
//! Docker
#![doc(html_root_url="https://ghmlee.github.io/rust-docker/doc")]

// Increase the compiler's recursion limit for the `error_chain` crate.
#![recursion_limit = "1024"]

// import external libraries
#[macro_use]
extern crate error_chain;
extern crate hyper;
#[cfg(feature="openssl")]
extern crate openssl;
#[cfg(windows)]
extern crate named_pipe;
#[cfg(unix)]
extern crate unix_socket;
extern crate rustc_serialize;
extern crate url;

// declare modules
mod test;
mod util;
#[cfg(unix)]
mod unix;
mod options;
mod docker;
pub mod errors;
pub mod container;
pub mod stats;
pub mod system;
pub mod image;
pub mod process;
pub mod filesystem;
pub mod version;

// publicly re-export
pub use docker::Docker;
pub use options::*;