Skip to content

Switch to minimum supported Rust version compatible resolver - #2239

Merged
penberg merged 1 commit into
mainfrom
icu
May 25, 2026
Merged

penberg merged 1 commit into
mainfrom
icu

Conversation

@penberg

@penberg penberg commented May 25, 2026

Copy link
Copy Markdown
Collaborator

The url 2.5.4+ crate pulls idna 1.x -> idna_adapter -> icu_* 2.2.0, which
require rustc 1.86. A fresh dependency resolution (e.g. the Docker build,
which did not pass --locked) would select those and fail against the 1.85.0
toolchain pinned in rust-toolchain.toml.

Bump the workspace to resolver = "3". With no rust-version declared, cargo's
MSRV-aware resolver falls back to the installed toolchain version (1.85.0, per
rust-toolchain.toml) and resolves to the latest compatible deps. Also pass
--locked in the Dockerfile so the image builds the exact pinned dependency
tree.

The url 2.5.4+ crate pulls idna 1.x -> idna_adapter -> icu_* 2.2.0, which
require rustc 1.86. A fresh dependency resolution (e.g. the Docker build,
which did not pass --locked) would select those and fail against the 1.85.0
toolchain pinned in rust-toolchain.toml. This patch bump the workspace to
resolver to fix this issue.

Note that as `ext/crr` uses Rust nightly that does not support the new
resolver, we had to add configure the projects as workspaces, to avoid `cargo`
dicovering the unsupported resolver in top-level Cargo.toml.
@penberg
penberg merged commit f542f03 into main May 25, 2026
20 checks passed
@penberg
penberg deleted the icu branch May 25, 2026 10:47
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.

1 participant