Struct cargo::core::resolver::EncodableResolve
source · pub struct EncodableResolve { /* private fields */ }
Expand description
The Cargo.lock
structure.
Implementations§
source§impl EncodableResolve
impl EncodableResolve
sourcepub fn into_resolve(
self,
original: &str,
ws: &Workspace<'_>
) -> CargoResult<Resolve>
pub fn into_resolve( self, original: &str, ws: &Workspace<'_> ) -> CargoResult<Resolve>
Convert a Cargo.lock
to a Resolve.
Note that this Resolve
is not “complete”. For example, the
dependencies do not know the difference between regular/dev/build
dependencies, so they are not filled in. It also does not include
features
. Care should be taken when using this Resolve. One of the
primary uses is to be used with resolve_with_previous
to guide the
resolver to create a complete Resolve.
Trait Implementations§
source§impl Debug for EncodableResolve
impl Debug for EncodableResolve
source§impl<'de> Deserialize<'de> for EncodableResolve
impl<'de> Deserialize<'de> for EncodableResolve
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more