Compare pkg ids based on their encoding.
authorDimitri Wegner <dimitri.wegner@here.com>
Tue, 29 May 2018 08:46:10 +0000 (10:46 +0200)
committerDimitri Wegner <dimitri.wegner@here.com>
Tue, 29 May 2018 08:46:10 +0000 (10:46 +0200)
commitf801672cf9a86d1098fa38b4d6eca66960b71100
tree9cead79547c4e8646ad16b8c97a6dfcecb0e58ee
parentb50f995b2aa78908f75e4f4540dad6f9c552de67
Compare pkg ids based on their encoding.

This comparison is needed, since we want to figure out which packages
are duplicate in the lockfile. Package coming from different
registries will be different in the lockfile, but not local packages
with the same name and version but different path.
src/cargo/core/resolver/encode.rs
src/cargo/core/resolver/mod.rs
src/cargo/ops/lockfile.rs