]> git.proxmox.com Git - cargo.git/commit - src/cargo/core/resolver/types.rs
Auto merge of #7333 - ehuss:allow-dev-dep-path, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 15 Oct 2019 14:38:29 +0000 (14:38 +0000)
committerbors <bors@rust-lang.org>
Tue, 15 Oct 2019 14:38:29 +0000 (14:38 +0000)
commit78ba63019d5eb88c1001a863ef1be7beb0abb1e6
tree008cb98903dc33831d518645073d8687e0e259dc
parentb03182a8ff0117ffa1c426119ae2b5a418776bbd
parente4345b2e8ed43328dc227a0fcf9447139927babc
Auto merge of #7333 - ehuss:allow-dev-dep-path, r=alexcrichton

Allow publishing with dev-dependencies without a version.

This change allows dev-dependencies without a `version` key to be published.  If a dev-dependency is missing the `version`, it will be stripped from the packaged manifest.
src/cargo/ops/cargo_package.rs
src/cargo/ops/registry.rs
src/cargo/util/toml/mod.rs
tests/testsuite/publish.rs