Skip to content

Commit ff025a5

Browse files
committed
feat(utils): rework module structure
1 parent 26f24a9 commit ff025a5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

alpm-utils/src/depends.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub fn satisfies_provide_nover(dep: impl AsDep, provide: impl AsDep) -> bool {
6262
dep.as_dep().name() == provide.as_dep().name()
6363
}
6464

65-
pub(crate) fn satisfies_ver<V: AsRef<Ver>>(dep: impl AsDep, version: V) -> bool {
65+
fn satisfies_ver<V: AsRef<Ver>>(dep: impl AsDep, version: V) -> bool {
6666
let version = version.as_ref();
6767
let dep = dep.as_dep();
6868

alpm-utils/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
mod conf;
99

1010
#[cfg(feature = "alpm")]
11-
pub mod alpm;
11+
mod alpm;
1212
mod db;
1313

1414
/// Utils for dependency checking.
@@ -20,5 +20,6 @@ mod target;
2020
pub use crate::conf::*;
2121

2222
#[cfg(feature = "alpm")]
23+
pub use crate::alpm::*;
2324
pub use crate::db::*;
2425
pub use crate::target::*;

0 commit comments

Comments
 (0)