From 49b81602c0e53ec5b64a42a2ccf00f41f2eadae5 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 22 Jan 2017 15:15:37 +0100 Subject: [PATCH 1/2] Make error types public --- libimagrt/src/configuration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagrt/src/configuration.rs b/libimagrt/src/configuration.rs index 52e51b24..7f26490d 100644 --- a/libimagrt/src/configuration.rs +++ b/libimagrt/src/configuration.rs @@ -34,7 +34,7 @@ generate_error_module!( ); ); -use self::error::{ConfigError, ConfigErrorKind}; +pub use self::error::{ConfigError, ConfigErrorKind}; /** * Result type of this module. Either `T` or `ConfigError` From 587e806cdda052b1e65ad5d9b9de830d733ccfea Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 22 Jan 2017 15:15:44 +0100 Subject: [PATCH 2/2] Make configuration module public --- libimagrt/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libimagrt/src/lib.rs b/libimagrt/src/lib.rs index 82556612..e81b14f3 100644 --- a/libimagrt/src/lib.rs +++ b/libimagrt/src/lib.rs @@ -48,9 +48,8 @@ extern crate libimagstorestdhook; extern crate libimagutil; #[macro_use] extern crate libimagerror; -mod configuration; - pub mod error; +pub mod configuration; pub mod logger; pub mod runtime; pub mod setup;