#[cfg(feature = "aur")]
pub use crate::client::{ArchClient, ArchClientBuilder};
pub use crate::types::{AurComment, AurPackage, AurPackageDetails};
pub use crate::error::{ArchToolkitError as Error, Result};
#[cfg(feature = "aur")]
pub use crate::aur::AurApi;
#[cfg(feature = "aur")]
pub use crate::aur::MockAurApi;
#[cfg(feature = "aur")]
pub use crate::cache::{CacheConfig, CacheConfigBuilder};
#[cfg(feature = "aur")]
pub use crate::aur::validation::ValidationConfig;
#[cfg(feature = "aur")]
pub use crate::client::RetryPolicy;
#[cfg(feature = "aur")]
pub use crate::client::CacheInvalidator;
#[cfg(feature = "aur")]
pub use crate::types::{HealthStatus, ServiceStatus};
#[cfg(feature = "deps")]
pub use crate::types::{
Dependency, DependencySource, DependencySpec, DependencyStatus, PackageRef, PackageSource,
ReverseDependencySummary, SrcinfoData,
};
#[cfg(feature = "deps")]
pub use crate::types::dependency::{
DependencyConstraintRange, DependencyGraphConfig, DependencyGraphDiagnostic,
DependencyGraphDiagnosticKind, DependencyGraphEdge, DependencyGraphNode,
DependencyGraphNodeStatus, DependencyGraphResolution, DependencyMetadata,
DependencyMetadataResponse, DependencyProvenance, DependencyVersionBound,
};
#[cfg(feature = "deps")]
pub use crate::deps::{
DependencyMetadataProvider, DependencyResolution, DependencyResolver, ResolverConfig,
ReverseDependencyAnalyzer, ReverseDependencyReport, get_installed_packages, parse_dep_spec,
version_satisfies,
};
#[cfg(feature = "index")]
pub use crate::types::index::{
IndexQueryResult, InstalledPackagesMode, MirrorDiscoveryLimits, MirrorInfo, OfficialIndex,
OfficialPackage,
};
#[cfg(feature = "index")]
pub use crate::index::{
IndexRefreshHandle, detect_enabled_repos, fetch_arch_mirrors, fetch_mirrors_from,
fetch_official_index, fetch_official_index_for_repos, generate_mirrorlist, load_from_disk,
load_from_disk_or_default, save_to_disk, search_official, spawn_index_refresh,
};
#[cfg(feature = "install")]
pub use crate::types::install::{
AurHelper, CascadeMode, CommandSpec, InstallOptions, PrivilegeTool,
};
#[cfg(feature = "install")]
pub use crate::install::{
InstallPlan, aur_install_shell_fallback, aur_update_shell_fallback, build_aur_install,
build_aur_update_command, build_batch_install, build_force_sync_update_command,
build_pacman_install, build_remove_command, build_update_command, detect_aur_helper,
detect_privilege_tool, with_privilege,
};
#[cfg(feature = "news")]
pub use crate::types::news::{AdvisorySeverity, ArchNewsItem, SecurityAdvisory};
#[cfg(feature = "news")]
pub use crate::news::{
FeedCache, InMemoryFeedCache, extract_article_text, fetch_arch_news, fetch_arch_news_cached,
fetch_article_text, fetch_security_advisories, fetch_security_advisories_cached,
};
#[cfg(feature = "sandbox")]
pub use crate::types::sandbox::{
DependencyDelta, SandboxAnalysisLimitation, SandboxFinding, SandboxInfo, SandboxRuleId,
SandboxStaticAnalysis,
};
#[cfg(feature = "sandbox")]
pub use crate::sandbox::{analyze_pkgbuild, analyze_pkgbuild_security, analyze_srcinfo};
#[cfg(all(feature = "aur", feature = "index"))]
pub use crate::aur::{
ARCH_PACKAGE_SEARCH_URL, check_mirror_health, fetch_arch_package_detail,
fetch_official_package_detail_from,
};
#[cfg(all(feature = "aur", feature = "index"))]
pub use crate::types::package::{
MetadataFetchLimits, MirrorHealth, MirrorHealthLimits, MirrorHealthStatus,
};