From: bors Date: Tue, 6 Mar 2018 03:01:47 +0000 (+0000) Subject: Auto merge of #5122 - acmcarther:acm-emit-features-from-cargo-metadata, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~2^2~61 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e514f9874bb8e40927fade58b598be29fd502308;p=cargo.git Auto merge of #5122 - acmcarther:acm-emit-features-from-cargo-metadata, r=alexcrichton Emit Resolve.features_sorted in "cargo metadata" This PR adds `features` to `metadata.resolve.nodes[*]` using the Resolve object's known features. This is different from the `features` fields that already exist elsewhere within metadata as this one is the actual features that need to be used in order to build the code. Context: I'm currently using Cargo's internals to synthesize BUILD files for the Bazel build tool. `cargo metadata` currently provides almost everything I need in order to avoid using Cargo's internals -- *except* for this. cc https://github.com/google/cargo-raze/issues/7 --- e514f9874bb8e40927fade58b598be29fd502308