bors 1f6857dcfb Auto merge of #13577 - rust-lang:renovate/msrv, r=epage
chore(deps): update msrv

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change | Pending |
|---|---|---|---|
| [MSRV:1](https://togithub.com/rust-lang/rust) | minor | `1.76.0` -> `1.77` |  |
| [MSRV:3](https://togithub.com/rust-lang/rust) | minor | `1.73` -> `1.75` | `1.77` (+1) |

---

### Release Notes

<details>
<summary>rust-lang/rust (MSRV:1)</summary>

### [`v1.77`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1770-2024-03-21)

[Compare Source](https://togithub.com/rust-lang/rust/compare/1.76.0...1.77.0)

\==========================

<a id="1.77.0-Language"></a>

## Language

-   [Reveal opaque types within the defining body for exhaustiveness checking.](https://togithub.com/rust-lang/rust/pull/116821/)
-   [Stabilize C-string literals.](https://togithub.com/rust-lang/rust/pull/117472/)
-   [Stabilize THIR unsafeck.](https://togithub.com/rust-lang/rust/pull/117673/)
-   [Add lint `static_mut_refs` to warn on references to mutable statics.](https://togithub.com/rust-lang/rust/pull/117556/)
-   [Support async recursive calls (as long as they have indirection).](https://togithub.com/rust-lang/rust/pull/117703/)
-   [Undeprecate lint `unstable_features` and make use of it in the compiler.](https://togithub.com/rust-lang/rust/pull/118639/)
-   [Make inductive cycles in coherence ambiguous always.](https://togithub.com/rust-lang/rust/pull/118649/)
-   [Get rid of type-driven traversal in const-eval interning](https://togithub.com/rust-lang/rust/pull/119044/),
    only as a [future compatiblity lint](https://togithub.com/rust-lang/rust/pull/122204) for now.
-   [Deny braced macro invocations in let-else.](https://togithub.com/rust-lang/rust/pull/119062/)

<a id="1.77.0-Compiler"></a>

## Compiler

-   [Include lint `soft_unstable` in future breakage reports.](https://togithub.com/rust-lang/rust/pull/116274/)
-   [Make `i128` and `u128` 16-byte aligned on x86-based targets.](https://togithub.com/rust-lang/rust/pull/116672/)
-   [Use `--verbose` in diagnostic output.](https://togithub.com/rust-lang/rust/pull/119129/)
-   [Improve spacing between printed tokens.](https://togithub.com/rust-lang/rust/pull/120227/)
-   [Merge the `unused_tuple_struct_fields` lint into `dead_code`.](https://togithub.com/rust-lang/rust/pull/118297/)
-   [Error on incorrect implied bounds in well-formedness check](https://togithub.com/rust-lang/rust/pull/118553/),
    with a temporary exception for Bevy.
-   [Fix coverage instrumentation/reports for non-ASCII source code.](https://togithub.com/rust-lang/rust/pull/119033/)
-   [Fix `fn`/`const` items implied bounds and well-formedness check.](https://togithub.com/rust-lang/rust/pull/120019/)
-   [Promote `riscv32{im|imafc}-unknown-none-elf` targets to tier 2.](https://togithub.com/rust-lang/rust/pull/118704/)
-   Add several new tier 3 targets:
    -   [`aarch64-unknown-illumos`](https://togithub.com/rust-lang/rust/pull/112936/)
    -   [`hexagon-unknown-none-elf`](https://togithub.com/rust-lang/rust/pull/117601/)
    -   [`riscv32imafc-esp-espidf`](https://togithub.com/rust-lang/rust/pull/119738/)
    -   [`riscv32im-risc0-zkvm-elf`](https://togithub.com/rust-lang/rust/pull/117958/)

Refer to Rust's \[platform support page]\[platform-support-doc]
for more information on Rust's tiered platform support.

<a id="1.77.0-Libraries"></a>

## Libraries

-   [Implement `From<&[T; N]>` for `Cow<[T]>`.](https://togithub.com/rust-lang/rust/pull/113489/)
-   [Remove special-case handling of `vec.split_off(0)`.](https://togithub.com/rust-lang/rust/pull/119917/)

<a id="1.77.0-Stabilized-APIs"></a>

## Stabilized APIs

-   [`array::each_ref`](https://doc.rust-lang.org/stable/std/primitive.array.html#method.each_ref)
-   [`array::each_mut`](https://doc.rust-lang.org/stable/std/primitive.array.html#method.each_mut)
-   [`core::net`](https://doc.rust-lang.org/stable/core/net/index.html)
-   [`f32::round_ties_even`](https://doc.rust-lang.org/stable/std/primitive.f32.html#method.round_ties_even)
-   [`f64::round_ties_even`](https://doc.rust-lang.org/stable/std/primitive.f64.html#method.round_ties_even)
-   [`mem::offset_of!`](https://doc.rust-lang.org/stable/std/mem/macro.offset_of.html)
-   [`slice::first_chunk`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.first_chunk)
-   [`slice::first_chunk_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.first_chunk_mut)
-   [`slice::split_first_chunk`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_first_chunk)
-   [`slice::split_first_chunk_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_first_chunk_mut)
-   [`slice::last_chunk`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.last_chunk)
-   [`slice::last_chunk_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.last_chunk_mut)
-   [`slice::split_last_chunk`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_last_chunk)
-   [`slice::split_last_chunk_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.split_last_chunk_mut)
-   [`slice::chunk_by`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.chunk_by)
-   [`slice::chunk_by_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.chunk_by_mut)
-   [`Bound::map`](https://doc.rust-lang.org/stable/std/ops/enum.Bound.html#method.map)
-   [`File::create_new`](https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.create_new)
-   [`Mutex::clear_poison`](https://doc.rust-lang.org/stable/std/sync/struct.Mutex.html#method.clear_poison)
-   [`RwLock::clear_poison`](https://doc.rust-lang.org/stable/std/sync/struct.RwLock.html#method.clear_poison)

<a id="1.77.0-Cargo"></a>

## Cargo

-   [Extend the build directive syntax with `cargo::`.](https://togithub.com/rust-lang/cargo/pull/12201/)
-   [Stabilize metadata `id` format as `PackageIDSpec`.](https://togithub.com/rust-lang/cargo/pull/12914/)
-   [Pull out `cargo-util-schemas` as a crate.](https://togithub.com/rust-lang/cargo/pull/13178/)
-   [Strip all debuginfo when debuginfo is not requested.](https://togithub.com/rust-lang/cargo/pull/13257/)
-   [Inherit jobserver from env for all kinds of runners.](https://togithub.com/rust-lang/cargo/pull/12776/)
-   [Deprecate rustc plugin support in cargo.](https://togithub.com/rust-lang/cargo/pull/13248/)

<a id="1.77.0-Rustdoc"></a>

## Rustdoc

-   [Allows links in markdown headings.](https://togithub.com/rust-lang/rust/pull/117662/)
-   [Search for tuples and unit by type with `()`.](https://togithub.com/rust-lang/rust/pull/118194/)
-   [Clean up the source sidebar's hide button.](https://togithub.com/rust-lang/rust/pull/119066/)
-   [Prevent JS injection from `localStorage`.](https://togithub.com/rust-lang/rust/pull/120250/)

<a id="1.77.0-Misc"></a>

## Misc

-   [Recommend version-sorting for all sorting in style guide.](https://togithub.com/rust-lang/rust/pull/115046/)

<a id="1.77.0-Internal-Changes"></a>

## Internal Changes

These changes do not affect any public interfaces of Rust, but they represent
significant improvements to the performance or internals of rustc and related
tools.

-   [Add more weirdness to `weird-exprs.rs`.](https://togithub.com/rust-lang/rust/pull/119028/)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "* * * * *" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/rust-lang/cargo).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjI2MS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->
2024-03-25 21:16:58 +00:00
2024-03-18 15:35:50 +01:00
2024-03-25 14:13:38 -05:00
2024-03-25 14:13:38 -05:00
2023-04-25 02:13:56 -05:00
2023-12-07 14:24:58 +00:00
2024-03-25 14:13:38 -05:00
2024-03-25 14:13:38 -05:00
2024-03-18 17:29:31 -04:00
2023-01-25 10:18:15 +00:00
2023-09-24 23:10:07 +08:00
2019-01-30 15:34:37 -05:00
2019-01-30 15:34:37 -05:00
2023-06-07 10:13:05 +01:00

Cargo

Cargo downloads your Rust projects dependencies and compiles your project.

To start using Cargo, learn more at The Cargo Book.

To start developing Cargo itself, read the Cargo Contributor Guide.

Code Status

CI

Code documentation: https://doc.rust-lang.org/nightly/nightly-rustc/cargo/

Installing Cargo

Cargo is distributed by default with Rust, so if you've got rustc installed locally you probably also have cargo installed locally.

Compiling from Source

Requirements

Cargo requires the following tools and packages to build:

Other requirements:

The following are optional based on your platform and needs.

  • pkg-config — This is used to help locate system packages, such as libssl headers/libraries. This may not be required in all cases, such as using vendored OpenSSL, or on Windows.

  • OpenSSL — Only needed on Unix-like systems and only if the vendored-openssl Cargo feature is not used.

    This requires the development headers, which can be obtained from the libssl-dev package on Ubuntu or openssl-devel with apk or yum or the openssl package from Homebrew on macOS.

    If using the vendored-openssl Cargo feature, then a static copy of OpenSSL will be built from source instead of using the system OpenSSL. This may require additional tools such as perl and make.

    On macOS, common installation directories from Homebrew, MacPorts, or pkgsrc will be checked. Otherwise it will fall back to pkg-config.

    On Windows, the system-provided Schannel will be used instead.

    LibreSSL is also supported.

Optional system libraries:

The build will automatically use vendored versions of the following libraries. However, if they are provided by the system and can be found with pkg-config, then the system libraries will be used instead:

  • libcurl — Used for network transfers.
  • libgit2 — Used for fetching git dependencies.
  • libssh2 — Used for SSH access to git repositories.
  • libz (aka zlib) — Used for data compression.

It is recommended to use the vendored versions as they are the versions that are tested to work with Cargo.

Compiling

First, you'll want to check out this repository

git clone https://github.com/rust-lang/cargo.git
cd cargo

With cargo already installed, you can simply run:

cargo build --release

Adding new subcommands to Cargo

Cargo is designed to be extensible with new subcommands without having to modify Cargo itself. See the Wiki page for more details and a list of known community-developed subcommands.

Releases

Cargo releases coincide with Rust releases. High level release notes are available as part of Rust's release notes. Detailed release notes are available in this repo at CHANGELOG.md.

Reporting issues

Found a bug? We'd love to know about it!

Please report all issues on the GitHub issue tracker.

Contributing

See the Cargo Contributor Guide for a complete introduction to contributing to Cargo.

License

Cargo is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

Third party software

This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (https://www.openssl.org/).

In binary form, this product includes software that is licensed under the terms of the GNU General Public License, version 2, with a linking exception, which can be obtained from the upstream repository.

See LICENSE-THIRD-PARTY for details.

Description
The Rust package manager
Readme 98 MiB
Languages
Rust 95.5%
Roff 4.1%
JavaScript 0.2%
Shell 0.1%