Auto merge of #5902 - little-arhat:feature-add-required-features-to-metadata-output, r=alexcrichton
Add `required-features` to `SerializedTarget`
This will add it to `cargo metadata` output and will make it
possible to enable features needed to build specific target.