1#[cfg(feature = "aur")]
78pub use crate::client::{ArchClient, ArchClientBuilder};
79
80pub use crate::types::{AurComment, AurPackage, AurPackageDetails};
82
83pub use crate::error::{ArchToolkitError as Error, Result};
85
86#[cfg(feature = "aur")]
88pub use crate::aur::AurApi;
89
90#[cfg(feature = "aur")]
92pub use crate::aur::MockAurApi;
93
94#[cfg(feature = "aur")]
96pub use crate::cache::{CacheConfig, CacheConfigBuilder};
97
98#[cfg(feature = "aur")]
99pub use crate::aur::validation::ValidationConfig;
100
101#[cfg(feature = "aur")]
102pub use crate::client::RetryPolicy;
103
104#[cfg(feature = "aur")]
105pub use crate::client::CacheInvalidator;
106
107#[cfg(feature = "aur")]
109pub use crate::types::{HealthStatus, ServiceStatus};
110
111#[cfg(feature = "deps")]
113pub use crate::types::{
114 Dependency, DependencySource, DependencySpec, DependencyStatus, PackageRef, PackageSource,
115 ReverseDependencySummary, SrcinfoData,
116};
117
118#[cfg(feature = "deps")]
119pub use crate::types::dependency::{
120 DependencyConstraintRange, DependencyGraphConfig, DependencyGraphDiagnostic,
121 DependencyGraphDiagnosticKind, DependencyGraphEdge, DependencyGraphNode,
122 DependencyGraphNodeStatus, DependencyGraphResolution, DependencyMetadata,
123 DependencyMetadataResponse, DependencyProvenance, DependencyVersionBound,
124};
125
126#[cfg(feature = "deps")]
127pub use crate::deps::{
128 DependencyMetadataProvider, DependencyResolution, DependencyResolver, ResolverConfig,
129 ReverseDependencyAnalyzer, ReverseDependencyReport, get_installed_packages, parse_dep_spec,
130 version_satisfies,
131};
132
133#[cfg(feature = "index")]
135pub use crate::types::index::{
136 IndexQueryResult, InstalledPackagesMode, MirrorDiscoveryLimits, MirrorInfo, OfficialIndex,
137 OfficialPackage,
138};
139
140#[cfg(feature = "index")]
141pub use crate::index::{
142 IndexRefreshHandle, detect_enabled_repos, fetch_arch_mirrors, fetch_mirrors_from,
143 fetch_official_index, fetch_official_index_for_repos, generate_mirrorlist, load_from_disk,
144 load_from_disk_or_default, save_to_disk, search_official, spawn_index_refresh,
145};
146
147#[cfg(feature = "install")]
149pub use crate::types::install::{
150 AurHelper, CascadeMode, CommandSpec, InstallOptions, PrivilegeTool,
151};
152
153#[cfg(feature = "install")]
154pub use crate::install::{
155 InstallPlan, aur_install_shell_fallback, aur_update_shell_fallback, build_aur_install,
156 build_aur_update_command, build_batch_install, build_force_sync_update_command,
157 build_pacman_install, build_remove_command, build_update_command, detect_aur_helper,
158 detect_privilege_tool, with_privilege,
159};
160
161#[cfg(feature = "news")]
163pub use crate::types::news::{AdvisorySeverity, ArchNewsItem, SecurityAdvisory};
164
165#[cfg(feature = "news")]
166pub use crate::news::{
167 FeedCache, InMemoryFeedCache, extract_article_text, fetch_arch_news, fetch_arch_news_cached,
168 fetch_article_text, fetch_security_advisories, fetch_security_advisories_cached,
169};
170
171#[cfg(feature = "sandbox")]
173pub use crate::types::sandbox::{
174 DependencyDelta, SandboxAnalysisLimitation, SandboxFinding, SandboxInfo, SandboxRuleId,
175 SandboxStaticAnalysis,
176};
177
178#[cfg(feature = "sandbox")]
179pub use crate::sandbox::{analyze_pkgbuild, analyze_pkgbuild_security, analyze_srcinfo};
180
181#[cfg(all(feature = "aur", feature = "index"))]
183pub use crate::aur::{
184 ARCH_PACKAGE_SEARCH_URL, check_mirror_health, fetch_arch_package_detail,
185 fetch_official_package_detail_from,
186};
187
188#[cfg(all(feature = "aur", feature = "index"))]
189pub use crate::types::package::{
190 MetadataFetchLimits, MirrorHealth, MirrorHealthLimits, MirrorHealthStatus,
191};