-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit 2e7bc06
authored
chore(deps): update cargo-semver-checks to v0.43.0 (#15825)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
|
[cargo-semver-checks](https://redirect.github.com/obi1kenobi/cargo-semver-checks)
| minor | `0.42.0` -> `0.43.0` |
---
### Release Notes
<details>
<summary>obi1kenobi/cargo-semver-checks (cargo-semver-checks)</summary>
###
[`v0.43.0`](https://redirect.github.com/obi1kenobi/cargo-semver-checks/releases/tag/v0.43.0)
[Compare
Source](https://redirect.github.com/obi1kenobi/cargo-semver-checks/compare/v0.42.0...v0.43.0)
#### In this release
- Spotlight: I'm giving a talk at Rust Forge!
- Performance improvements
- 1 new lint, for a total of 178
This release requires Rust 1.87+ both to install (MSRV) and at runtime.
Future releases will require Rust 1.88+.
#### Spotlight: I'm giving a talk at Rust Forge!
Rust Forge is a creative new conference organized by [Rust in
Action](https://www.manning.com/books/rust-in-action) author [Tim
McNamara](https://rustforgeconf.com/about). It's scheduled for 27-30
August 2025 in [Wellington, New
Zealand](https://rustforgeconf.com/location).
My talk is titled "The Past, Present, and Future of SemVer in Rust" and
I'm extremely excited about it! Here's a short description:
> At least 1-2 times per week, accidental breaking changes sneak into
the new release of some popular Rust package, despite the maintainers'
best efforts. Why is this still a problem 10 years after Rust 1.0? What
will it take to finally stop such breakage, so we can have fearless
`cargo update`?
It's not too late to [grab a
ticket](https://rust-forge-2025.lilregie.com/booking/attendees/new)! I
hope to see you there!
#### Performance improvements
Supporting an exponentially-growing number of lints requires periodic
maintenance in the form of mandatory performance engineering, Without
it, things would quickly get out of hand, and large crates and large
workspaces would be affected first. To prevent that, this release cycle
focused on both internal and external improvements.
Externally-visible improvements include lint execution time
improvements, courtesy of a new query profiling tool prototype developed
by [@​CLIDragon](https://redirect.github.com/CLIDragon). This
allowed us to [add targeted new
indexes](https://redirect.github.com/obi1kenobi/trustfall-rustdoc-adapter/pull/926)
that speed up the execution of some lints by as much as 10x! After these
optimizations, running the full suite of lints on Rust's largest crates
needs only ~2s, down from around ~8s previously.
Internal improvements include a variety of optimizations aimed at
reducing the time taken by our CI suite, from an original of ~7min for
`cargo test` down to around ~1min.
If you're wondering why `cargo test` used to take 7min in the first
place: our test suite runs ~250000 lint queries to ensure correctness
and keep false-positives out! Even extremely cheap operations done 250k
times add up very quickly! After the optimizations, we still run those
250k queries — we didn't sacrifice correctness at all, but merely cut
out avoidable overhead.
#### New lints
We added only one new lint in this release, tracking an additive-only
API change: `enum_must_use_removed`. This lint group remains
opt-in-only.
#### All merged PRs
- Drop support for Rust prior to 1.87. by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1359](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1359)
- Use edition 2024 now that we aren't MSRV-bound. by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1360](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1360)
- Weekly `cargo update` of dependencies by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1361](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1361)
- Refactor rustdoc generation, replacing dynamic dispatch system by
[@​GlitchlessCode](https://redirect.github.com/GlitchlessCode) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1354](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1354)
- Weekly `cargo update` of dependencies by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1363](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1363)
- Bump trustfall\_rustdoc to v0.29 to use cached schemas. by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1365](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1365)
- Weekly `cargo update` of dependencies by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1367](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1367)
- Weekly `cargo update` of dependencies by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1370](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1370)
- Add `enum_must_use_removed` lint. by
[@​shreyans413](https://redirect.github.com/shreyans413) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1368](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1368)
- Support rustdoc v54 and use latest `cargo_metadata`. by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1372](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1372)
- Parse each query three times per query-lint pair (instead of six
times) by [@​CLIDragon](https://redirect.github.com/CLIDragon) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1371](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1371)
- Weekly `cargo update` of dependencies by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1374](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1374)
- Use `run_query_with_indexed_query` by
[@​CLIDragon](https://redirect.github.com/CLIDragon) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1373](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1373)
- Bump major versions of `cargo_toml, toml, tame_index, clap-cargo`. by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1375](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1375)
- Weekly `cargo update` of dependencies by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1378](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1378)
- Weekly `cargo update` of dependencies by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1380](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1380)
- Support rustdoc v55 which is currently in beta and nightly. by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1383](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1383)
- Bump actions/download-artifact from 4 to 5 by
[@​dependabot](https://redirect.github.com/dependabot)\[bot]
in[https://github.com/obi1kenobi/cargo-semver-checks/pull/1382](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1382)2
- Add next Rust minor to test matrix by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1381](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1381)
- Don't upload prebuilt rustdocs for Rust <1.87 by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1384](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1384)
- Weekly `cargo update` of dependencies by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1385](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1385)
- Release v0.43 with performance optimizations for large crates. by
[@​obi1kenobi](https://redirect.github.com/obi1kenobi) in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1386](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1386)
#### New Contributors
- [@​CLIDragon](https://redirect.github.com/CLIDragon) made their
first contribution in
[https://github.com/obi1kenobi/cargo-semver-checks/pull/1371](https://redirect.github.com/obi1kenobi/cargo-semver-checks/pull/1371)
**Full Changelog**:
obi1kenobi/cargo-semver-checks@v0.42.0...v0.43.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:eyJjcmVhdGVkSW5WZXIiOiI0MS41MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuNTEuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->File tree
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changedFilter options
- .github/workflows
Expand file treeCollapse file tree
1 file changed
+1
-1
lines changed+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
105 |
| - | |
| 105 | + | |
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
|
0 commit comments