pub use self::config::Config;
pub use self::process_builder::{process, ProcessBuilder};
pub use self::result::{Wrap, Require};
pub use self::errors::{CargoResult, CargoError, BoxError, ChainError, CliResult};
pub use self::errors::{CliError, FromError, ProcessError};
pub use self::errors::{process_error, internal_error, internal, human, caused_human};
pub use self::paths::realpath;
pub use self::hex::{to_hex, short_hash};
pub use self::pool::TaskPool;
pub use self::dependency_queue::{DependencyQueue, Fresh, Dirty, Freshness};
pub use self::dependency_queue::Dependency;
pub use self::graph::Graph;
pub use self::to_url::ToUrl;
pub use self::to_semver::ToSemver;
pub use self::vcs::{GitRepo, HgRepo};
pub use self::sha256::Sha256;

pub mod config;
pub mod errors;
pub mod graph;
pub mod hex;
pub mod important_paths;
pub mod paths;
pub mod process_builder;
pub mod profile;
pub mod result;
pub mod to_semver;
pub mod to_url;
pub mod toml;
mod dependency_queue;
mod pool;
mod sha256;
mod vcs;

pub use self::config::Config;
pub use self::process_builder::{process, ProcessBuilder};
pub use self::result::{Wrap, Require};
pub use self::errors::{CargoResult, CargoError, BoxError, ChainError, CliResult};
pub use self::errors::{CliError, FromError, ProcessError};
pub use self::errors::{process_error, internal_error, internal, human, caused_human};
pub use self::paths::realpath;
pub use self::hex::{to_hex, short_hash};
pub use self::pool::TaskPool;
pub use self::dependency_queue::{DependencyQueue, Fresh, Dirty, Freshness};
pub use self::dependency_queue::Dependency;
pub use self::graph::Graph;
pub use self::to_url::ToUrl;
pub use self::to_semver::ToSemver;
pub use self::vcs::{GitRepo, HgRepo};
pub use self::sha256::Sha256;

pub mod graph;
pub mod process_builder;
pub mod config;
pub mod important_paths;
pub mod result;
pub mod toml;
pub mod paths;
pub mod errors;
pub mod hex;
pub mod profile;
pub mod to_semver;
mod pool;
mod dependency_queue;
mod to_url;
mod vcs;
mod sha256;

--- 
+++ 
@@ -15,19 +15,19 @@
 pub use self::vcs::{GitRepo, HgRepo};
 pub use self::sha256::Sha256;
 
+pub mod config;
+pub mod errors;
 pub mod graph;
+pub mod hex;
+pub mod important_paths;
+pub mod paths;
 pub mod process_builder;
-pub mod config;
-pub mod important_paths;
+pub mod profile;
 pub mod result;
+pub mod to_semver;
+pub mod to_url;
 pub mod toml;
-pub mod paths;
-pub mod errors;
-pub mod hex;
-pub mod profile;
-pub mod to_semver;
+mod dependency_queue;
 mod pool;
-mod dependency_queue;
-mod to_url;
+mod sha256;
 mod vcs;
-mod sha256;
Make to_url public for rustc
