Crate pkgsrc

source ·
Expand description

§pkgsrc

Implementation of pkg_install library and database routines in Rust.

§Goals

The initial goals are to fully support existing pkg_install packages and the files-based pkgdb, in tandem with developing pm, a Rust alternative to pkg_install and pkgin.

After that the aim is to replace the fragile and slow pkgdb backend with sqlite which should provide much faster and more reliable queries and updates.

Modules§

  • Module supporting the package database. WIP.
  • Handling for PKGPATH metadata and relative package directory locations.
  • Packing list parsing and generation.
  • pkg_summary(5) parsing and generation.

Structs§

  • Parse metadata contained in +* files in a package archive.

Enums§

Functions§

  • Compare package pkg against pattern pattern.