Auto merge of #5360 - euclio:metadata, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 16 Apr 2018 15:36:50 +0000 (15:36 +0000)
committerbors <bors@rust-lang.org>
Mon, 16 Apr 2018 15:36:50 +0000 (15:36 +0000)
commit6cc47807074e6ef3790a72e8f957ae92a6444f3e
treefc0696debdca60c2c34a65144443f1f59b4e5195
parent43872ace5d78f064447259a02d495914a1fb45a7
parent2efeeda17bc49b24111d40a948ee43782efbf19a
Auto merge of #5360 - euclio:metadata, r=alexcrichton

include package metadata in `cargo metadata`

Fixes #4819.

All-in-all a pretty small change. I'm a little concerned about threading the `toml::Value` all the way through however, should I make another type? Also, cloning the metadata value initially is maybe not ideal, since it's technically accessible through the original manifest. I figured this way was cleaner.