Version
hyper-util 0.1.20
Platform
Linux o 6.19.12+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.19.12-1 (2026-04-13) x86_64 GNU/Linux
Summary
Cargo's version resolver doesn't handle version ranges like this very well, resulting in non-deterministic flip-flopping of versions, or selection of multiple versions of socket2. (For instance, if other crates want the newer version, this range may result in cargo resolving to both the old and new version.)
rust-lang/cargo#9029
rust-lang/cargo#5529
https://rust-lang.zulipchat.com/#narrow/channel/246057-t-cargo/topic/Cargo.2Elock.20non-deterministically.20flipflopping/with/520024108
Please consider depending exclusively on the new version of socket2.
I saw the mention that you want your MSRV to support Debian stable. Debian stable currently has 1.85, which works with latest socket2.
Version
hyper-util 0.1.20
Platform
Linux o 6.19.12+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.19.12-1 (2026-04-13) x86_64 GNU/Linux
Summary
Cargo's version resolver doesn't handle version ranges like this very well, resulting in non-deterministic flip-flopping of versions, or selection of multiple versions of socket2. (For instance, if other crates want the newer version, this range may result in cargo resolving to both the old and new version.)
rust-lang/cargo#9029
rust-lang/cargo#5529
https://rust-lang.zulipchat.com/#narrow/channel/246057-t-cargo/topic/Cargo.2Elock.20non-deterministically.20flipflopping/with/520024108
Please consider depending exclusively on the new version of socket2.
I saw the mention that you want your MSRV to support Debian stable. Debian stable currently has 1.85, which works with latest socket2.