From: bors Date: Sat, 11 Feb 2017 17:20:36 +0000 (+0000) Subject: Auto merge of #3668 - KalitaAlexey:fix-example-metadata, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~9^2~158 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6f1b860;p=cargo.git Auto merge of #3668 - KalitaAlexey:fix-example-metadata, r=alexcrichton Reverted the "kind" field to the previous value. Added a new field named "crate_types". Fixes https://github.com/rust-lang/cargo/issues/3654 After this PR `cargo metadata` would output: ```json { "packages": [ { "targets": [ { "kind": ["lib"], "crate_types": ["lib"] }, { "kind": ["example"], "crate_types": ["staticlib"] } ] } ] } ``` I have added tests. --- 6f1b860da7aba4c5ea97a49de08a61f3f330e92d