diff --git a/alpm-utils/src/depends.rs b/alpm-utils/src/depends.rs index c46a886..49ebb13 100644 --- a/alpm-utils/src/depends.rs +++ b/alpm-utils/src/depends.rs @@ -62,7 +62,7 @@ pub fn satisfies_provide_nover(dep: impl AsDep, provide: impl AsDep) -> bool { dep.as_dep().name() == provide.as_dep().name() } -pub(crate) fn satisfies_ver>(dep: impl AsDep, version: V) -> bool { +fn satisfies_ver>(dep: impl AsDep, version: V) -> bool { let version = version.as_ref(); let dep = dep.as_dep(); diff --git a/alpm-utils/src/lib.rs b/alpm-utils/src/lib.rs index 2ca822f..efb9742 100644 --- a/alpm-utils/src/lib.rs +++ b/alpm-utils/src/lib.rs @@ -8,7 +8,7 @@ mod conf; #[cfg(feature = "alpm")] -pub mod alpm; +mod alpm; mod db; /// Utils for dependency checking. @@ -20,5 +20,6 @@ mod target; pub use crate::conf::*; #[cfg(feature = "alpm")] +pub use crate::alpm::*; pub use crate::db::*; pub use crate::target::*;