Arnavion ebbd00b1ab Don't assume the first package in the result of cargo metadata is the current crate.
Instead find the one with the manifest path that matches the --manifest-path argument or the current directory.

Fixes #1247
2016-10-22 18:15:42 -07:00
..
2016-08-17 18:35:25 +02:00
2016-08-17 18:35:25 +02:00
2016-10-22 16:16:55 +02:00
2016-08-17 18:35:25 +02:00
2016-08-17 18:35:25 +02:00