pub struct ResolverConfig {
pub include_optdepends: bool,
pub include_makedepends: bool,
pub include_checkdepends: bool,
pub max_depth: usize,
pub pkgbuild_cache: Option<Box<dyn Fn(&str) -> Option<String> + Send + Sync>>,
pub check_aur: bool,
}Expand description
Configuration for dependency resolution.
Controls various aspects of how dependencies are resolved, including which types of dependencies to include and how deep to traverse the dependency tree.
Note: This struct does not implement Clone or Debug because it contains
a function pointer (pkgbuild_cache) that cannot be cloned or debugged.
Fields§
§include_optdepends: boolWhether to include optional dependencies.
include_makedepends: boolWhether to include make dependencies.
include_checkdepends: boolWhether to include check dependencies.
max_depth: usizeMaximum depth for transitive dependency resolution (0 = direct only).
pkgbuild_cache: Option<Box<dyn Fn(&str) -> Option<String> + Send + Sync>>Custom callback for fetching PKGBUILD from cache (optional).
check_aur: boolWhether to check AUR for missing dependencies.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolverConfig
impl !RefUnwindSafe for ResolverConfig
impl Send for ResolverConfig
impl Sync for ResolverConfig
impl Unpin for ResolverConfig
impl !UnwindSafe for ResolverConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more