//! Strava API
//!

extern crate hyper;
extern crate rustc_serialize;


mod http;

pub mod resources;
pub mod accesstoken;
pub mod error;
pub mod segment;
pub mod paginate;
mod api;

pub use resources::Athlete;
pub use accesstoken::AccessToken;
pub use resources::ResourceState;

//! Strava API
//!

extern crate hyper;
extern crate rustc_serialize;


mod http;

pub mod resources;
pub mod accesstoken;
pub mod error;
pub mod segment;
pub mod paginate;
pub mod api;

pub use resources::Athlete;
pub use accesstoken::AccessToken;
pub use resources::ResourceState;

--- 
+++ 
@@ -12,7 +12,7 @@
 pub mod error;
 pub mod segment;
 pub mod paginate;
-pub mod api;
+mod api;
 
 pub use resources::Athlete;
 pub use accesstoken::AccessToken;
Stop exporting the "api" module

It's currently just for building strava URLs internally.
