Skip to content

Conversation

@thomasqueirozb
Copy link
Contributor

Ran into this when I got this error:

error: use of deprecated function `hyper::body::to_bytes`: This function has been replaced by a method on the `hyper::body::HttpBody` trait. Use `.collect().await?.to_bytes()` instead.

Took me a long while to figure out I needed to bump http-body

Copy link
Member

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@seanmonstar seanmonstar merged commit d3da1af into hyperium:master Dec 8, 2025
3 checks passed
@thomasqueirozb
Copy link
Contributor Author

@seanmonstar it looks like we needed a newline in there...
image

I'll make a follow up

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.

2 participants