118 releases (49 breaking)

Uses new Rust 2024

0.53.0 May 26, 2025
0.51.0 Apr 18, 2025
0.48.6 Mar 5, 2025
0.45.3 Dec 29, 2024
0.15.3 Nov 28, 2023

#318 in Compression

Download history 133/week @ 2025-02-12 194/week @ 2025-02-19 298/week @ 2025-02-26 740/week @ 2025-03-05 8/week @ 2025-03-12 21/week @ 2025-03-19 28/week @ 2025-04-02 250/week @ 2025-04-09 169/week @ 2025-04-16 9/week @ 2025-04-23 4/week @ 2025-04-30 305/week @ 2025-05-07 51/week @ 2025-05-14 113/week @ 2025-05-21 32/week @ 2025-05-28

502 downloads per month

GPL-3.0-or-later

120KB
3K SLoC

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.

Dependencies

~32–48MB
~723K SLoC