pub struct ResolutionOptions {
pub include_optional: bool,
pub include_dev: bool,
pub max_depth: usize,
pub cache_ttl: Duration,
pub enable_parallel: bool,
pub platform_filter: Option<String>,
pub allow_prerelease: bool,
}
Expand description
Options for dependency resolution
Fields§
§include_optional: bool
Whether to include optional dependencies
include_dev: bool
Whether to include development dependencies
max_depth: usize
Maximum resolution depth (to prevent infinite recursion)
cache_ttl: Duration
Cache TTL for resolutions
enable_parallel: bool
Whether to enable parallel resolution
platform_filter: Option<String>
Platform filter (only include dependencies for this platform)
allow_prerelease: bool
Whether to allow prerelease versions
Trait Implementations§
Source§impl Clone for ResolutionOptions
impl Clone for ResolutionOptions
Source§fn clone(&self) -> ResolutionOptions
fn clone(&self) -> ResolutionOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ResolutionOptions
impl Debug for ResolutionOptions
Auto Trait Implementations§
impl Freeze for ResolutionOptions
impl RefUnwindSafe for ResolutionOptions
impl Send for ResolutionOptions
impl Sync for ResolutionOptions
impl Unpin for ResolutionOptions
impl UnwindSafe for ResolutionOptions
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