Skip to content

chore: repair Cargo.lock and unbreak the MSRV job - #23

Merged
barjin merged 3 commits into
impit-mainfrom
fix/cargo-lock-merge
Aug 5, 2026
Merged

chore: repair Cargo.lock and unbreak the MSRV job#23
barjin merged 3 commits into
impit-mainfrom
fix/cargo-lock-merge

Conversation

@barjin

@barjin barjin commented Aug 5, 2026

Copy link
Copy Markdown
Member

Three independent breakages that the merge of v/0.23.43 into impit-main (ea08c88) left behind, all of which make CI red on every PR opened against the branch.

The merge resolved Cargo.lock by keeping stale entries from our side, which left icu_normalizer 2.1.1 locked against zerovec 0.11.5 — a combination its manifest no longer permits. Cargo refuses to resolve the workspace at all, so most jobs die with failed to select a version for zerovec before running anything. Our manifests differ from upstream only in the aws-lc-rs floor and the added impit feature, both of which upstream's lockfile already satisfies, so this adopts upstream's Cargo.lock verbatim.

The merge also added ClientConfig::send_ticket_request and initialized it in the default builder, but not in the parallel initializer behind #[cfg(feature = "impit")], so anything building with impit fails with E0063. Fix cherry-picked from @jackc625's work in #22 so the base branch carries it.

Finally, the MSRV job's first step excludes zlib because zlib-rs needs rustc 1.75, but impit = ["aws_lc_rs", "ring", "brotli", "zlib"] silently re-enables it — admin/all-features-except documents that it assumes, without verifying, that the remaining features don't depend on the excluded ones. impit is now excluded there too; the job's second step still covers it via --all-features at 1.75.

barjin added 2 commits August 5, 2026 14:50
The merge of v/0.23.43 resolved Cargo.lock by keeping stale entries from
impit-main, leaving icu_normalizer 2.1.1 pinned against zerovec 0.11.5
which its manifest no longer accepts. Every job that resolves the
workspace failed. Adopt upstream's lockfile, which our manifests already
satisfy.
The `impit` feature enables `zlib`, so `all-features-except zlib` silently
re-enabled it and the 1.71 check failed on zlib-rs, whose MSRV is 1.75. The
subsequent 1.75 `--all-features` step still covers `impit`.
@barjin barjin changed the title fix: repair Cargo.lock after v0.23.43 merge fix: repair Cargo.lock and unbreak the MSRV job Aug 5, 2026
The merge of upstream v/0.23.43 added `ClientConfig::send_ticket_request`
and updated the default builder to initialize it, but the parallel
`ClientConfig` initializer guarded by `#[cfg(feature = "impit")]` was not
updated, so building with the `impit` feature fails:

    error[E0063]: missing field `send_ticket_request` in initializer of
    `ClientConfig` --> rustls/src/client/builder.rs:309

Defaults to `None`, matching both the field's documented default and the
non-impit builder a few lines above, so no ticket_request extension is
sent and emulated ClientHellos are unchanged.
@barjin barjin changed the title fix: repair Cargo.lock and unbreak the MSRV job fix: unbreak impit-main CI after the v0.23.43 merge Aug 5, 2026
@barjin barjin changed the title fix: unbreak impit-main CI after the v0.23.43 merge chore: repair Cargo.lock and unbreak the MSRV job Aug 5, 2026
@barjin
barjin merged commit b155124 into impit-main Aug 5, 2026
29 checks passed
@barjin
barjin deleted the fix/cargo-lock-merge branch August 5, 2026 13:49
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.

3 participants