]> git.proxmox.com Git - cargo.git/commit - src/bin/cargo/commands/rustdoc.rs
Auto merge of #8037 - djc:rfc-2495, r=ehuss
authorbors <bors@rust-lang.org>
Wed, 20 Jan 2021 16:12:56 +0000 (16:12 +0000)
committerbors <bors@rust-lang.org>
Wed, 20 Jan 2021 16:12:56 +0000 (16:12 +0000)
commit8e075c9cab41eb1ed6222f819924999476477f2e
tree3954be2b66cd54c48700c113ac1fdd3bb67f10be
parentc524fa4e36b1b6134bf6d1fc17f0648f194118c7
parentc221fec91119cd94a3043cc19566ed61d4f5c13d
Auto merge of #8037 - djc:rfc-2495, r=ehuss

Implement support for rust-version field in project metadata

Needs a bunch more work, but I'd like some early feedback! Remaining work:

- [x] Bikeshedding name (picked `rust-version` here over `msrv` or `min-rust-version`)
- [x] Failing test for local dependency with unsatisfied MSRV
- [x] Requirement cannot be smaller than 1.27
- [x] Requirement cannot be smaller than initial release of edition used
- [x] Check for `run`, `verify` and `publish` subcommands
- [x] More tests (would love feedback on this)
- [x] Handle pre-release identifiers
- [x] Disallow semver range operators
- [x] Feature gate it
- [x] Add documentation for unstable feature

Minimal version of `@moxian's` earlier take in #7801.

cc rust-lang/rust#65262
src/doc/src/reference/unstable.md