[][src]Crate pkgsrc

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

pkgdb

Module supporting the package database. WIP.

plist

Packing list parsing and generation.

summary

pkg_summary(5) parsing and generation.

Structs

Metadata

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

Enums

MetadataEntry

Type of Metadata entry.

Functions

pkg_match

Compare package pkg against pattern pattern.