Skip to content

build: sync Cargo.lock to sqlx 0.9 and fix import order - #427

Merged
mwendigg merged 1 commit into
mainfrom
fix/sqlx-lockfile-and-import-order
Jul 26, 2026
Merged

build: sync Cargo.lock to sqlx 0.9 and fix import order#427
mwendigg merged 1 commit into
mainfrom
fix/sqlx-lockfile-and-import-order

Conversation

@mwendigg

@mwendigg mwendigg commented Jul 26, 2026

Copy link
Copy Markdown
Collaborator

Key Changes:

  • Resolved --locked build failure by aligning Cargo.lock with Cargo.toml (sqlx 0.9.0)
  • Refreshed dependency graph, upgrading digest/sha/hashbrown/whoami and dropping obsolete transitive crates
  • Normalized import ordering in history modules to satisfy rustfmt/clippy
  • No functional behavior changes; build and formatting only

Changed:

  • Dependency resolution update: Bumped sqlx to 0.9.0 in Cargo.lock and refreshed transitive versions (digest 0.11, sha1 0.11, sha2 0.11, hashbrown 0.16, whoami 2.1), fixing cargo check --locked on main - Cargo.lock
  • Import organization: Moved sqlx::AssertSqlSafe below chrono::Utc to follow standard use ordering and silence lint/format issues - ares-cli/src/history/{cost.rs,list.rs}

Removed:

  • Obsolete transitive dependencies eliminated by resolver after sqlx upgrade (rsa, num-bigint-dig) - Cargo.lock

**Added:**

- Introduced new transitive crates from upgrades: cmov, ctutils, foldhash 0.2.x

**Changed:**

- Upgrade sqlx to 0.9 across core, macros, and drivers (mysql, postgres, sqlite) for fixes and API improvements
- Align crypto stack to digest 0.11 (hkdf 0.13, hmac 0.13, sha1 0.11, sha2 0.11) for compatibility with updated deps
- Update windows-sys to 0.61.2 and refresh windows-targets for improved Windows support
- Refresh supporting crates (flume 0.12, etcetera 0.11, whoami 2.1.2, hashbrown 0.16, hashlink 0.11) to current versions
- Reorder imports to satisfy lints in CLI history modules - ares-cli/src/history/{cost.rs,list.rs}

**Removed:**

- Dropped legacy and now-unneeded deps via upgrades (rsa, pkcs1, num-bigint-dig, libredox, wasite, windows-sys/targets 0.48, redox_syscall 0.7.x, libm, num-iter, plain) to reduce bloat
@mwendigg mwendigg changed the title style: reorder imports in history modules for consistency build: sync Cargo.lock to sqlx 0.9 and fix import order Jul 26, 2026
@mwendigg
mwendigg merged commit dd71e14 into main Jul 26, 2026
7 checks passed
@mwendigg
mwendigg deleted the fix/sqlx-lockfile-and-import-order branch July 26, 2026 19:45
@codecov

codecov Bot commented Jul 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.97%. Comparing base (702c5bf) to head (1caba56).
⚠️ Report is 8 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #427   +/-   ##
=======================================
  Coverage   79.97%   79.97%           
=======================================
  Files         434      434           
  Lines      126175   126175           
=======================================
  Hits       100912   100912           
  Misses      25263    25263           
Files with missing lines Coverage Δ
ares-cli/src/history/cost.rs 0.00% <ø> (ø)
ares-cli/src/history/list.rs 0.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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