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§
- Digest hashing and validation. The
Digestmodule is mostly a thin wrapper around thedigestcrate and a selection ofhashesprovided by theRustCryptoproject, with some additional features for a pkgsrc context. - Module supporting the package database. WIP.
- Handling for
PKGPATHmetadata 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§
- Type of Metadata entry.
Functions§
- Compare package
pkgagainst patternpattern.