Skip to content

deps(rust): move to the latest stable toolchain and current crates (sqlx 0.9 and five other majors) #136

Closed

Description

@TusanHomichi

Existing issue check

  • I searched open and closed issues. None tracks Rust dependency or toolchain currency.

Problem or outcome

The maintainer's policy (2026-10-15): "i'd like to use latest versions of packages here where it makes sense in general". A dependency inventory on main 48ccb8e (2026-10-15) found the following.

  • Toolchain: rust-toolchain.toml pins channel 1.98. Locally that is 1.98.0, and the channel's latest patch is 1.98.1. Latest stable is 1.99.1.
  • Breaking crate bumps (requirement → latest):
    • sqlx 0.8 → 0.9.0: MSRV 1.94; significant Migrate trait changes; query*() takes impl SqlSafeStr; Arguments lifetimes removed. About 700 sqlx:: references.
    • axum-extra 0.10 → 0.12.6: features opt-in; the cookie feature remains.
    • sha2 0.10 → 0.11.1: digest 0.11; MSRV 1.88.
    • argon2 0.5 → 0.6.0: std feature removed.
    • getrandom 0.3 → 0.4.3: 0.4.3 is already in the lock transitively.
    • zip 8.6 → 9.0.3: deprecated items removed.
  • Semver-compatible updates: clap, jiff, rust-embed, serde_json, tokio, and uuid. cargo update --dry-run locks 59 packages.

Outcome

The workspace builds on the latest stable toolchain with every direct dependency at its latest release, wherever that makes sense. Anything held back is named, with the reason. No behavior changes. Records, canonical bytes, hashes, migrations, and exports stay byte-for-byte compatible, and the existing tests, the golden installation-export archive, and the canonical-format vectors prove it.

Acceptance criteria

  • rust-toolchain.toml pins the latest stable (1.99), and the PR states the MSRV implications.
  • Each breaking bump is either done, or held with a written reason.
  • Hashes and canonical bytes are unchanged: the canonical-format golden vectors, the record-export and trainee-packet tests, and the v1 golden installation archive all pass unchanged.
  • Full local proof and hosted checks pass.

Execution record

  • Authority: the maintainer's dependency policy and standing PR permission (2026-10-15).
  • Inputs: inventory report archived at /data/dev/home/.codex/tmp/consolebook-deps-inventory-20261015.md on the maintainer machine.
  • Next action: brief the implementer (role) in a worktree from main.

Activity

  1. TusanHomichi commented on Oct 15, 2026

    @TusanHomichi
    MemberAuthor

    Merged in #139 as 909bf92a417125abcdcf26876cb123e586a958dd (squash, single parent 48ccb8e). The merged tree 1985502e is identical to the proven head b165802.

    • Local full proof: 7/7 gates, 292 Rust tests, 62/62 browser tests, rustc 1.99.1. Receipt sha256 be8f3cdb….
    • Hosted: fmt-clippy-test, build-x86_64, build-aarch64, and CodeQL (4 languages) passed.
    • Codex: no findings.
    • CodeQL: two test-only alerts, dismissed under the test: one shared invented credential so CodeQL stops re-flagging every test file #126 class.
    • Archive: receipts are in /data/dev/home/.codex/tmp/consolebook-deps-20261015/.
    • Authority: the maintainer's standing PR permission.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions