Uh oh!
There was an error while loading. Please reload this page.
feat(rt): replace IO traits with hyper::rt ones - #3230
Merged
Conversation
seanmonstar
commented
May 18, 2023
MemberAuthor
cc @Noah-Kennedy, regarding making sure it's forwards-compatible. |
Noah-Kennedy
commented
May 23, 2023
Contributor
Ping me in a few days if I haven't looked at this |
seanmonstarforce-pushed
the
io-traits
branch
6 times, most recently
from
July 3, 2023 19:08
1b0c922 to
60bc52aCompareseanmonstarforce-pushed
the
io-traits
branch
2 times, most recently
from
July 10, 2023 17:28
ab1cad9 to
e07f28fCompare0xE282B0 pushed a commit
to 0xE282B0/hyper
that referenced
this pull request
Jan 12, 2024
This replaces the usage of `tokio::io::{AsyncRead, AsyncWrite}` in hyper's public API with new traits in the `hyper::rt` module.
Closeshyperium#3110
BREAKING CHANGE: Any IO transport type provided must not implement `hyper::rt::{Read, Write}` instead of
`tokio::io` traits. You can grab a helper type from `hyper-util` to wrap Tokio types, or implement the traits yourself,
if it's a custom type.0xE282B0 pushed a commit
to 0xE282B0/hyper
that referenced
this pull request
Jan 16, 2024
This replaces the usage of `tokio::io::{AsyncRead, AsyncWrite}` in hyper's public API with new traits in the `hyper::rt` module.
Closeshyperium#3110
BREAKING CHANGE: Any IO transport type provided must not implement `hyper::rt::{Read, Write}` instead of
`tokio::io` traits. You can grab a helper type from `hyper-util` to wrap Tokio types, or implement the traits yourself,
if it's a custom type.
Signed-off-by: Sven Pfennig <s.pfennig@reply.de>
Closed
MadLittleMods added a commit
to MadLittleMods/fork-matrix-hyper-federation-client
that referenced
this pull request
Feb 5, 2025
> The free functions `hyper::body::to_bytes` and `aggregate` have been removed. Similar functionality is on `http_body_util::BodyExt::collect`. (0888623d) > > https://github.com/hyperium/hyper/blob/master/CHANGELOG.md#v100-rc1-2022-10-25 > remove higher-level `hyper::Client` ([#2941](hyperium/hyper#2941)) (bb3af17c) > > https://github.com/hyperium/hyper/blob/master/CHANGELOG.md#v100-rc1-2022-10-25 > remove client::connect module ([#2949](hyperium/hyper#2949)) (5e206883) > > > https://github.com/hyperium/hyper/blob/master/CHANGELOG.md#v100-rc1-2022-10-25 > remove `server::conn::{Http, Connection}` types ([#3013](hyperium/hyper#3013)) (0766d3f7, closes #3012) > > https://github.com/hyperium/hyper/blob/master/CHANGELOG.md#v100-rc1-2022-10-25 > The `poll_ready` method has been removed. (fee7d361) > > https://github.com/hyperium/hyper/blob/master/CHANGELOG.md#v100-rc1-2022-10-25 > replace IO traits with hyper::rt ones ([#3230](hyperium/hyper#3230)) (f9f65b7a, closes #3110) > > https://github.com/hyperium/hyper/blob/master/CHANGELOG.md#v100-rc1-2022-10-25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This replaces the usage of
tokio::io::{AsyncRead, AsyncWrite}in hyper's public API with new traits in thehyper::rtmodule.Closes#3110
Before merging
AsyncReadvsRead;ReadBufandReadBufCursor)ReadBufandCursor