Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: mark Body::channel() as deprecated in 0.14 #3823

Open
wants to merge 1 commit into
base: 0.14.x
Choose a base branch
from

Conversation

cratelyn
Copy link

@cratelyn cratelyn commented Jan 6, 2025

this commit marks Body::channel() as deprecated in the 0.14 release.

#2970 (see #2962) made this interface private, and hyper 1.0 no longer includes this function. instead, users should wrap an mpsc::Receiver<T> in a StreamBody. this should help users migrating from hyper 0.14 to 1.0, by indicating that this interface is affected by the breaking changes in hyper 1.0, and indicating a suitable upgrade path.

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