Skip to content

chore: update libraries and rust edition#11

Merged
Johnabell merged 5 commits into
masterfrom
johnabell/updates
Nov 8, 2025
Merged

chore: update libraries and rust edition#11
Johnabell merged 5 commits into
masterfrom
johnabell/updates

Conversation

@Johnabell
Copy link
Copy Markdown
Owner

This PR update the rust version and some dependancies and fixes deprecation warnings.

@Johnabell Johnabell self-assigned this Nov 7, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.26%. Comparing base (bba1f9c) to head (7600e6b).
⚠️ Report is 1 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Johnabell Johnabell requested a review from Copilot November 8, 2025 20:16
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 rand API usage and removed deprecated sqlx trait 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.

Comment thread rexecutor/src/backoff.rs
@Johnabell Johnabell merged commit 34114c8 into master Nov 8, 2025
6 checks passed
@Johnabell Johnabell deleted the johnabell/updates branch November 8, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants