3 releases (breaking)
0.3.0 | Nov 2, 2024 |
---|---|
0.2.0 | Nov 3, 2023 |
0.1.0 | Jan 3, 2022 |
#188 in Compression
Used in linux-package-analyzer
35KB
698 lines
RPM Repository
rpm-repository
is a library crate implementing functionality related
to RPM / yum based repositories.
See the crate's documentation for more.
lib.rs
:
RPM repository interaction.
This crate facilitates interacting with RPM package repositories.
RPM repositories are defined by a base URL. Under that base URL is typically a
repodata
directory containing a repomd.xml
file. This repomd.xml
file
(represented by metadata::repomd::RepoMd) describes other metadata
files constituting the repository.
Files and data structures in the repodata
directory are defined in the
[metadata] module tree.
The [RepositoryRootReader] trait defines a generic read interface bound to a
base URL. The [MetadataReader] trait defines an interface to repository metadata
via a parsed repomd.xml
file.
Concrete repository readers exist. http::HttpRepositoryClient provides a reader for repositories accessed via HTTP.
Dependencies
~12–23MB
~341K SLoC