Crate pkgsrc

Crate pkgsrc 

Source
Expand description

§pkgsrc

Rust interface to the pkg_install database and the pkgsrc mk infrastructure.

Modules§

digest
Digest hashing and validation. The Digest module is mostly a thin wrapper around the digest crate and a selection of hashes provided by the RustCrypto project, with some additional features for a pkgsrc context.
distinfo
pkgsrc distinfo file parsing and processing.
kv
Type-safe KEY=VALUE parsing for various pkgsrc formats.
pkgdb
Module supporting the package database. WIP.
plist
Packing list parsing and generation.
summary
Parsing and generation of pkg_summary(5) package metadata.

Structs§

Depend
Parse DEPENDS and other package dependency types.
Dewey
Package pattern matching for so-called “dewey” patterns.
DeweyError
A Dewey pattern parsing error.
Metadata
Parse metadata contained in +* files in a package archive.
Pattern
Package pattern matching.
PkgName
Parse a PKGNAME into its constituent parts.
PkgPath
Handling for PKGPATH metadata and relative package directory locations.
ScanIndex
Parse the output of make pbulk-index into individual records.
ScanIndexIter
Iterator that parses ScanIndex entries from a BufRead source.

Enums§

DependError
A DEPENDS parsing error.
DependType
Type of dependency (full, build, bootstrap, test, etc.)
MetadataEntry
Type of Metadata entry.
PatternError
A pattern error.
PkgPathError
An invalid path was specified trying to create a new PkgPath.