chore: update libraries and rust edition#11
Merged
Conversation
946bca6 to
6816e61
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #11 +/- ##
==========================================
+ Coverage 93.14% 95.26% +2.11%
==========================================
Files 24 23 -1
Lines 5222 3671 -1551
==========================================
- Hits 4864 3497 -1367
+ Misses 358 174 -184 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull Request Overview
This PR updates the Rust edition to 2024, upgrades several dependencies (rand, cron, thiserror, mockall, sqlx), and applies automatic formatting changes to comply with Rust 2024 edition's stricter import ordering requirements.
Key Changes:
- Updated Rust edition from 2021 to 2024 with MSRV bumped to 1.85.0
- Upgraded dependencies:
rand(0.8→0.9),cron(0.12→0.15),thiserror(1.0→2.0),mockall(0.12→0.13),sqlx(0.7→0.8) - Fixed deprecation warnings in
randAPI usage and removed deprecatedsqlxtrait implementation
Reviewed Changes
Copilot reviewed 22 out of 23 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| rexecutor/Cargo.toml | Updated edition to 2024, MSRV to 1.85.0, and dependency versions |
| rexecutor-sqlx/Cargo.toml | Updated edition to 2024 and dependency versions |
| examples/postgres/Cargo.toml | Updated edition to 2024 and cron version |
| rexecutor/src/backoff.rs | Fixed deprecated rand API usage |
| rexecutor-sqlx/src/types.rs | Removed deprecated PgHasArrayType implementation |
| Multiple .rs files | Reordered imports per Rust 2024 edition formatting |
| docker-compose.yml | Updated PostgreSQL image and removed deprecated version field |
| .github/workflows/ci.yaml | Updated MSRV in CI matrix and added --locked flag to cargo install |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR update the rust version and some dependancies and fixes deprecation warnings.