pub struct CollectConfig {
pub dev: bool,
pub build: bool,
pub platform: CollectPlatform,
}
Expand description
Configuration options for the collection process.
Fields§
§dev: bool
If set to true
,
dev-dependencies
are collected
Because dependents never inherit development dependencies, transitive development dependencies are never collected, even with this option set.
build: bool
If set to true
,
build-dependencies
are collected.
Unlike with development dependencies, this also applies to transitive build dependencies.
platform: CollectPlatform
Which platform to collect for.
Defaults to CollectPlatform::Any
.
Trait Implementations§
Source§impl Debug for CollectConfig
impl Debug for CollectConfig
Source§impl Default for CollectConfig
impl Default for CollectConfig
Source§fn default() -> CollectConfig
fn default() -> CollectConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for CollectConfig
impl PartialEq for CollectConfig
impl StructuralPartialEq for CollectConfig
Auto Trait Implementations§
impl Freeze for CollectConfig
impl RefUnwindSafe for CollectConfig
impl Send for CollectConfig
impl Sync for CollectConfig
impl Unpin for CollectConfig
impl UnwindSafe for CollectConfig
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