pub struct PackageConfigInput {
pub name: PackageName,
pub version: Version,
pub targets: Vec<Target>,
pub dependencies: Vec<Dependency>,
pub system_dependencies: Vec<SystemDependency>,
pub features: Features,
}Expand description
Bundled inputs for Package::with_config.
cabin-manifest builds this from the parsed cabin.toml and hands
it to Package::with_config. Threading inputs through one struct
keeps with_config callable across the workspace without a fixed
positional argument order.
Fields§
§name: PackageNamepackage.name from the manifest.
version: Versionpackage.version from the manifest.
targets: Vec<Target>Parsed [target.*] definitions.
dependencies: Vec<Dependency>Parsed [dependencies] / [dev-dependencies].
system_dependencies: Vec<SystemDependency>Parsed [system-dependencies].
features: FeaturesParsed [features].
Trait Implementations§
Source§impl Clone for PackageConfigInput
impl Clone for PackageConfigInput
Source§fn clone(&self) -> PackageConfigInput
fn clone(&self) -> PackageConfigInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PackageConfigInput
impl RefUnwindSafe for PackageConfigInput
impl Send for PackageConfigInput
impl Sync for PackageConfigInput
impl Unpin for PackageConfigInput
impl UnsafeUnpin for PackageConfigInput
impl UnwindSafe for PackageConfigInput
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