[][src]Enum guppy::graph::cargo::CargoResolverVersion

#[non_exhaustive]pub enum CargoResolverVersion {
    V1,
    V1Install,
    V2,
}

The version of Cargo's feature resolver to use.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
V1

The default "classic" feature resolver in Rust.

This feature resolver unifies features across inactive targets, and also unifies features across normal, build and dev dependencies for initials. This may produce results that are surprising at times.

V1Install

The "classic" feature resolver in Rust, as used by commands like cargo install.

This resolver avoids unifying features across dev dependencies for initials. However, if CargoOptions::with_dev_deps is set to true, it behaves identically to the V1 resolver.

For more, see avoid-dev-deps in the Cargo reference.

V2

The new feature resolver.

This is currently available as -Zfeatures=all, and is expected to be released in a future version of Cargo.

For more, see Features in the Cargo reference.

Trait Implementations

impl Arbitrary for CargoResolverVersion[src]

type Parameters = ()

The type of parameters that arbitrary_with accepts for configuration of the generated Strategy. Parameters must implement Default. Read more

type Strategy = TupleUnion<((u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>), (u32, Arc<fn() -> Self>))>

The type of Strategy used to generate values of type Self. Read more

impl Clone for CargoResolverVersion[src]

impl Copy for CargoResolverVersion[src]

impl Debug for CargoResolverVersion[src]

impl<'de> Deserialize<'de> for CargoResolverVersion[src]

impl Eq for CargoResolverVersion[src]

impl Hash for CargoResolverVersion[src]

impl PartialEq<CargoResolverVersion> for CargoResolverVersion[src]

impl Serialize for CargoResolverVersion[src]

impl StructuralEq for CargoResolverVersion[src]

impl StructuralPartialEq for CargoResolverVersion[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> DefaultFeatures<'a> for T where
    T: 'a + Clone + Send + Sync
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> NonSyncFeatures<'a> for T where
    T: 'a + Clone
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SafeBorrow<T> for T where
    T: ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,