1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! # oma-pm
//!
//! The package manager component for oma.
//!
//! The oma-pm crate provides essential functionalities for
//! package management operations such as install, remove, upgrade, and search.
//!
//! ## Features
//!
//! 1. **PackageInfo**: Package information to be handled by oma-apt.
//! 2. **Progress**: Reports the progress of package management operations.
//! 3. **Search Result**: Structure and handling of search results.
//! 4. **Communication with rust-apt**: Communicate with `oma-apt`.
//!
//! NOTE: `oma-apt` is another fork of `rust-apt`, maintained by AOSC-Dev
//!
//! ## Modules
//!
//! - `apt`: Handles interactions with `apt`.
//! - `matches`: Provides utilities for matching package information.
//! - `pkginfo`: Contains definitions and structures for package information.
//! - `progress`: Tracks the progress of package management operations.
//! - `search`: Defines the structure and handling of search results.
//! - `dbus`: Manages D-Bus communication.
//!
//! ## Re-exports
//!
//! - `AptErrors`: Error definitions from `oma-apt` crate.
//! - `PkgCurrentState`: Current package management status from oma-apt.
//! - `PackageStatus`: Package status definitions from the `search` module.
pub use PackageStatus;
pub use CommitConfig;
pub use apt_auth_config;
pub use CustomDownloadMessage;
pub use oma_apt;
pub use Event as PackageDownloadEvent;
pub use SingleDownloadError as PackageDownloadError;