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` 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;