Skip to content

Conversation

@sugyan
Copy link
Member

@sugyan sugyan commented Nov 29, 2025

Summary

Bumps the Minimum Supported Rust Version (MSRV) from 1.75.0 to 1.85.0.

Background

Many dependent libraries have raised their MSRV requirements, making them incompatible with our current MSRV of 1.75.0. As discussed in #315, this has been causing build failures and forcing us to use workarounds by pinning older versions of dependencies. This PR updates our MSRV to 1.85.0 to allow using current versions of these libraries.

Closes #315

Changes

This update includes:

  • Updated Rust Edition from 2021 to 2024
  • Updated CI workflows to test against Rust 1.85.0
  • Updated WASM target from wasm32-wasi to wasm32-wasip1 and wasm32-wasip2
  • Updated dependencies (Cargo.lock)
  • Pinned generic-array to 0.14.7 (see details below)
  • Fixed clippy warnings that appeared with the new Rust version

generic-array Version Pin

We've pinned generic-array to version 0.14.7 as a workaround for CI failures caused by warnings in v0.14.8 and later:

Detailed Changes

  • .github/workflows/rust.yml: Update MSRV from 1.75.0 to 1.85.0
  • .github/workflows/wasm.yml: Replace deprecated wasm32-wasi target with wasm32-wasip1 and wasm32-wasip2
  • Cargo.lock: Mass dependency updates
  • Various clippy fixes across the codebase
  • Pin generic-array dependency to 0.14.7

Test plan

  • CI workflows pass with Rust 1.85.0
  • WASM builds succeed with updated targets
  • Clippy passes without warnings

🤖 Generated with Claude Code

@sugyan sugyan requested a review from Copilot November 30, 2025 14:16
Copy link

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 Minimum Supported Rust Version (MSRV) from 1.75.0 to 1.85.0 to resolve dependency compatibility issues. The changes include CI workflow updates, WASM target modernization, dependency updates, and automatic code formatting fixes applied by the newer Rust version.

Key changes:

  • Updated MSRV from 1.75.0 to 1.85.1 with edition 2024
  • Modernized WASM targets from deprecated wasm32-wasi to wasm32-wasip1 and wasm32-wasip2
  • Applied automatic formatting changes (import reordering, line wrapping) from newer rustfmt

Reviewed changes

Copilot reviewed 81 out of 83 changed files in this pull request and generated no comments.

Show a summary per file
File Description
rust-toolchain.toml Updated toolchain version from 1.75.0 to 1.85.1
.github/workflows/rust.yml Updated MSRV test from 1.75.0 to 1.85.0
.github/workflows/wasm.yml Replaced deprecated wasm32-wasi with wasm32-wasip1 and wasm32-wasip2
Cargo.toml Updated edition to 2024, MSRV to 1.85, pinned generic-array to 0.14.7, removed unused dependencies
bsky-sdk/Cargo.toml Removed unused dependency specifications
atrium-oauth/Cargo.toml Removed unused base64ct dependency
atrium-crypto/Cargo.toml Added explicit generic-array dependency
Multiple .rs files Applied automatic rustfmt import reordering and line length formatting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sugyan sugyan marked this pull request as ready for review November 30, 2025 14:19
@sugyan sugyan changed the title Bump MSRV to 1.85 feat: Bump MSRV to 1.85 Nov 30, 2025
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.

Bump MSRV to 1.82 ?

2 participants