Skip to content

refactor: limit dependency futures-util to tests and client-legacy#192

Merged
seanmonstar merged 1 commit into
hyperium:masterfrom
hanna-kruppe:master
May 23, 2025
Merged

refactor: limit dependency futures-util to tests and client-legacy#192
seanmonstar merged 1 commit into
hyperium:masterfrom
hanna-kruppe:master

Conversation

@hanna-kruppe

@hanna-kruppe hanna-kruppe commented May 17, 2025

Copy link
Copy Markdown
Contributor

Enable non-trivial applications based on hyper + tokio without pulling in this heavyweight dependency. Keep MSRV 1.63 by using ready! from futures_core and polyfilling poll_fn.

Don't remove futures-util from the client-legacy code, because this would require re-implementing several non-trivial combinators.

@hanna-kruppe

Copy link
Copy Markdown
Contributor Author

Notes: this is only useful if and when hyperium/hyper#3890 is merged.

Comment thread .github/workflows/CI.yml Outdated
Enable non-trivial applications based on hyper + tokio without pulling
in this heavyweight dependency. Keep MSRV 1.63 by using `ready!` from
`futures_core` and polyfilling `poll_fn`.

Don't remove futures-util from the `client-legacy` code, because this
would require re-implementing several non-trivial combinators.
@seanmonstar seanmonstar merged commit 2b2c352 into hyperium:master May 23, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants