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
// Serde is only supported on the nightly version of rustc.
// The feature needed is being stabilized:
//     https://github.com/rust-lang/rust/issues/35900
#![cfg_attr(feature = "use_serde", feature(rustc_macro))]

// Load the proper crates based on the selected feature
#[cfg(feature = "use_rustc-serialize")]
extern crate rustc_serialize;
#[cfg(feature = "use_serde")]
extern crate serde;
#[cfg(feature = "use_serde")]
#[macro_use]
extern crate serde_derive;
#[cfg(feature = "use_serde")]
extern crate serde_json;

#[macro_use]
extern crate log;
#[cfg(feature = "fetch")]
extern crate curl;

pub mod common;



#[cfg(feature = "fetch")]
pub mod fetch;