mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #1291] [MERGED] Update hyper to 1.x #1321
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#1321
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/1291
Author: @GeorgeHahn
Created: 6/7/2024
Status: ✅ Merged
Merged: 6/9/2024
Merged by: @roderickvd
Base:
dev← Head:hyper-update📝 Commits (6)
98a9758Enable deprecation warnings and address0a7a874Update core to hyper 1.x6a4053eUpdate audio to hyper 1.xda0deb1Convert discovery to hyper 1.xe1113ddcargo fmtbd5c284Fix build error when hyper'sserverfeature isn't enabled📊 Changes
12 files changed (+281 additions, -334 deletions)
View changed files
📝
Cargo.lock(+148 -243)📝
audio/Cargo.toml(+3 -1)📝
audio/src/fetch/mod.rs(+3 -2)📝
audio/src/fetch/receive.rs(+2 -1)📝
core/Cargo.toml(+6 -4)📝
core/src/apresolve.rs(+3 -2)📝
core/src/error.rs(+11 -5)📝
core/src/http_client.rs(+20 -21)📝
core/src/spclient.rs(+6 -6)📝
discovery/Cargo.toml(+4 -1)📝
discovery/src/lib.rs(+1 -1)📝
discovery/src/server.rs(+74 -47)📄 Description
This PR updates
hyperto version 1.x. I've tested it on windows with default options. The most notable change is in the discovery server, where the code has changed significantly to accommodate changes inhyper. The intent of the code remains the same, and I confirmed that it functions correctly on my devices.hyper-proxyis swapped out in favor of a maintained fork,hyper-proxy2. I've seen mentions of some alternatives; this appears to be the most stable option.hyper-rustlsis updated to version0.26.0to gethyper1.x support, but is held short of the latest version,0.27.2, due to build environment changes required for0.27.0.Docs I referenced for this change:
hyper,hyper-util,hyper-body-util🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.