Docs.rs
  • rpm-repository-0.3.0
    • rpm-repository 0.3.0
    • Permalink
    • Docs.rs crate page
    • MPL-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • indygreg
    • Dependencies
      • async-compression ^0.4.17 normal
      • digest ^0.10.7 normal
      • futures ^0.3.31 normal
      • hex ^0.4.3 normal
      • pin-project ^1.1.7 normal
      • reqwest ^0.12.9 normal
      • serde ^1.0.214 normal
      • serde-xml-rs ^0.6.0 normal
      • sha-1 ^0.10.1 normal
      • sha2 ^0.10.8 normal
      • thiserror ^1.0.66 normal
      • tokio ^1.41.0 normal
      • url ^2.5.2 normal
    • Versions
    • 77.62% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate rpm_repository

rpm_repository0.3.0

  • All Items

Crate Items

  • Re-exports
  • Modules
  • Traits

Crates

  • rpm_repository

Crate rpm_repository

Source
Expand description

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.

Re-exports§

pub use crate::error::Result;
pub use crate::error::RpmRepositoryError;

Modules§

error
http
io
metadata
RPM repository metadata XML definitions.

Traits§

DataResolver
Path based content fetching.
MetadataReader
A read-only interface for metadata in an RPM repository.
RepositoryRootReader
A read-only interface for the root of an RPM repository.

Results

Settings
Help
    module
    rpm_repository::error
    enum
    rpm_repository::error::RpmRepositoryError
    Error type for this crate.
    method
    rpm_repository::error::RpmRepositoryError::from
    Error -> RpmRepositoryError
    method
    rpm_repository::error::RpmRepositoryError::source
    &RpmRepositoryError -> Option<&Error>