Skip to main content

Module aur

Module aur 

Source
Expand description

AUR (Arch User Repository) operations.

Re-exports§

pub use crate::types::package::MetadataFetchLimits;
pub use crate::types::package::MirrorHealth;
pub use crate::types::package::MirrorHealthLimits;
pub use crate::types::package::MirrorHealthStatus;

Modules§

utils
Utility functions for AUR operations.
validation
Input validation for AUR operations.

Structs§

Aur
What: Wrapper for AUR operations using an ArchClient.
MockAurApi
What: Mock implementation of AurApi for testing.

Constants§

ARCH_PACKAGE_SEARCH_URL
Established Arch Packages JSON search endpoint used by the opt-in convenience helper.

Traits§

AurApi
What: Trait for AUR operations, enabling testability via mock implementations.

Functions§

check_mirror_health
What: Probe existing public mirror rows with a caller-selected relative path.
fetch_arch_package_detail
What: Fetch one official Arch package detail with caller-owned transport policy.
fetch_official_package_detail_from
What: Fetch one official package detail from a caller-selected JSON endpoint.