]> git.proxmox.com Git - cargo.git/commitdiff
Auto merge of #8003 - ehuss:proc-macro-index, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 18 Mar 2020 14:00:07 +0000 (14:00 +0000)
committerbors <bors@rust-lang.org>
Wed, 18 Mar 2020 14:00:07 +0000 (14:00 +0000)
Add proc-macro to index, and new feature resolver.

This adds the "pm" field to the index so that Cargo can detect which packages contain a proc-macro without downloading the package.

The second commit builds on that to support proc-macros in the new "de-unification" of the new feature resolver. This prevents dependencies shared between proc-macros and other dependency kinds from having features unified.

cc #7915

1  2 
crates/cargo-test-support/src/registry.rs
src/cargo/core/compiler/unit_dependencies.rs
src/cargo/core/profiles.rs
src/cargo/core/summary.rs
src/cargo/ops/cargo_compile.rs
src/cargo/sources/registry/index.rs
src/cargo/sources/registry/mod.rs
src/cargo/util/toml/mod.rs
src/doc/src/reference/unstable.md
tests/testsuite/profile_config.rs

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge