Weihang Lo 607b3eb11e
chore(deps): update cargo-semver-checks to v0.47.0 (#16723)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[cargo-semver-checks](https://redirect.github.com/obi1kenobi/cargo-semver-checks)
| minor | `0.46.0` → `0.47.0` |

---

### Release Notes

<details>
<summary>obi1kenobi/cargo-semver-checks (cargo-semver-checks)</summary>

###
[`v0.47.0`](https://redirect.github.com/obi1kenobi/cargo-semver-checks/releases/tag/v0.47.0)

[Compare
Source](https://redirect.github.com/obi1kenobi/cargo-semver-checks/compare/v0.46.0...v0.47.0)

#### In this release

- 7 new lints
- Spotlight: Google Summer of Code

This release also includes a workaround for a Rust 1.94 rustdoc bug that
caused `cargo-semver-checks` to crash in certain projects. We
[contributed the fix to
rustdoc](https://redirect.github.com/rust-lang/rust/pull/153465/) and
are including a workaround here so our users can continue using
`cargo-semver-checks` with Rust 1.94.

![semver-animation](https://redirect.github.com/user-attachments/assets/e4b035c3-67de-480f-9e0d-44cb5dd87263)
 *This adorable animation was made by
[@&#8203;dekirisu](https://redirect.github.com/dekirisu)* 

This release requires Rust 1.91+ both to install (MSRV) and at runtime.

#### Spotlight: Participating in Google Summer of Code

`cargo-semver-checks` is once again participating in [Google Summer of
Code](https://summerofcode.withgoogle.com/), as [part of the Rust
project](https://blog.rust-lang.org/2026/02/19/Rust-participates-in-GSoC-2026/)!

This is the third year in a row that students from all over the world
are eligible to submit proposals for multi-month projects aimed at
improving Rust and its tooling such as `cargo-semver-checks`. An initial
list of [suggested proposal topics is available
here](https://redirect.github.com/rust-lang/google-summer-of-code), and
student are of course welcome to bring their own ideas as well.

The application period runs from March 16-31, 2026. Good luck to all
applicants — we're excited to see you and we can't wait to see what you
build!

#### New lints

7 opt-in lints for additive-only changes were added in this release:

- `inherent_method_added`
- `inherent_method_no_longer_unsafe`
- `inherent_method_now_const`
- `repr_c_added`
- `repr_transparent_added`
- `struct_no_longer_has_non_pub_fields`
- `struct_no_longer_non_exhaustive`

#### All merged PRs

- Drop support for Rust 1.90. MSRV is now 1.91. by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1559](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1559)
- Upgrade gix and tame-index; drop support for git indexes. by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1560](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1560)
- specify cargo-binstall metadata for faster download by
[@&#8203;marcoieni](https://redirect.github.com/marcoieni) in
[#&#8203;1561](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1561)
- Weekly `cargo update` of dependencies by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1564](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1564)
- Add minor lint for removing #\[non\_exhaustive] from public struct by
[@&#8203;connor15mcc](https://redirect.github.com/connor15mcc) in
[#&#8203;1550](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1550)
- Weekly `cargo update` of dependencies by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1567](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1567)
- Weekly `cargo update` of dependencies by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1569](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1569)
- Add minor lint for losing all non-`pub` fields by
[@&#8203;connor15mcc](https://redirect.github.com/connor15mcc) in
[#&#8203;1562](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1562)
- fix: clarify method\_parameter\_count\_changed error template by
[@&#8203;Ansh-699](https://redirect.github.com/Ansh-699) in
[#&#8203;1570](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1570)
- feat: add minor lint `inherent_method_added` by
[@&#8203;Ansh-699](https://redirect.github.com/Ansh-699) in
[#&#8203;1571](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1571)
- Check lint reference links for validity. Fix broken links. by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1572](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1572)
- ignore architecture-specific lint tests on unsupported architectures
by [@&#8203;chrjabs](https://redirect.github.com/chrjabs) in
[#&#8203;1568](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1568)
- Handle the tuple form of lint registrations in `make_new_lint.sh`. by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1573](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1573)
- Ensure lints in `add_lints!()` are properly sorted. by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1574](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1574)
- Weekly `cargo update` of dependencies by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1575](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1575)
- tests: force ASCII cargo diagnostics in snapshot tests
(CARGO\_TERM\_UNICODE=false) by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1578](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1578)
- Weekly `cargo update` of dependencies by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1580](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1580)
- Add next Rust minor to test matrix by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1588](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1588)
- Bump actions/upload-artifact from 6 to 7 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;1585](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1585)
- Bump actions/download-artifact from 7 to 8 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;1584](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1584)
- Weekly `cargo update` of dependencies by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1587](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1587)
- Add minor lint: inherent\_method\_no\_longer\_unsafe by
[@&#8203;MarcosAsh](https://redirect.github.com/MarcosAsh) in
[#&#8203;1579](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1579)
- Add minor lint: repr(transparent) added on public API type by
[@&#8203;h-wal](https://redirect.github.com/h-wal) in
[#&#8203;1582](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1582)
- Update reference link which seems to have moved recently. by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1594](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1594)
- Add minor lint: repr(C) added on public API type by
[@&#8203;h-wal](https://redirect.github.com/h-wal) in
[#&#8203;1581](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1581)
- Add minor lint: inherent\_method\_now\_const by
[@&#8203;h-wal](https://redirect.github.com/h-wal) in
[#&#8203;1589](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1589)
- Release v0.47.0. by
[@&#8203;obi1kenobi](https://redirect.github.com/obi1kenobi) in
[#&#8203;1596](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1596)

#### New Contributors

- [@&#8203;Ansh-699](https://redirect.github.com/Ansh-699) made their
first contribution in
[#&#8203;1570](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1570)
- [@&#8203;chrjabs](https://redirect.github.com/chrjabs) made their
first contribution in
[#&#8203;1568](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1568)
- [@&#8203;MarcosAsh](https://redirect.github.com/MarcosAsh) made their
first contribution in
[#&#8203;1579](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1579)
- [@&#8203;h-wal](https://redirect.github.com/h-wal) made their first
contribution in
[#&#8203;1582](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1582)

**Full Changelog**:
<https://github.com/obi1kenobi/cargo-semver-checks/compare/v0.46.0...v0.47.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - Every minute ( * * * * * ) (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.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/rust-lang/cargo).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41OS4wIiwidXBkYXRlZEluVmVyIjoiNDMuNTkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
2026-03-08 18:10:39 +00:00
2026-03-06 06:24:36 -08:00
2026-03-06 06:24:36 -08:00
2026-03-06 06:24:36 -08:00
2025-02-04 06:11:14 -08: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.

The Cargo binary distributed through with Rust is maintained by the Cargo team for use by the wider ecosystem. For all other uses of this crate (as a binary or library) this is maintained by the Cargo team, primarily for use by Cargo and not intended for external use (except as a transitive dependency). This crate may make major changes to its APIs.

Code Status

CI

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

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 by the above C libraries for data compression. (Rust code uses zlib-rs instead.)

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 the changelog.

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 105 MiB
Languages
Rust 95.8%
Roff 3.8%
JavaScript 0.2%
Shell 0.1%