## into_resolve

# Function into_resolve

Source

    pub fn into_resolve(
        resolve: TomlLockfile,
        original: &str,
        ws: &Workspace<'_>,
    ) -> CargoResult<Resolve>

Expand description

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.