-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat(tokio_util): Stabilise JoinMap #7075
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
base: master
Are you sure you want to change the base?
feat(tokio_util): Stabilise JoinMap #7075
Conversation
eb9f646
to
5155239
Compare
5155239
to
91695b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM.
tokio-util/Cargo.toml
Outdated
|
||
net = ["tokio/net"] | ||
compat = ["futures-io",] | ||
codec = [] | ||
time = ["tokio/time","slab"] | ||
io = [] | ||
io-util = ["io", "tokio/rt", "tokio/io-util"] | ||
rt = ["tokio/rt", "tokio/sync", "futures-util", "hashbrown"] | ||
rt = ["tokio/rt", "tokio/sync", "futures-util"] | ||
join-map = ["rt", "hashbrown"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this be sufficient?
join-map = ["rt", "hashbrown"] | |
join-map = ["tokio/rt", "hashbrown"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm. The mod task
requires the rt
feature, but ultimately yes it should work with just tokio/rt
Looks like just merge conflicts at this point? |
Seems I forgot about this. Will check today |
136eb15
to
765fffd
Compare
Would the change in #7252 preclude a non breaking change in this API? Can we merge this without 7252 then merge in 7252 as an optimization later? |
Yes, that's my understanding. The only public API change noticeable is removing the |
I'd like to get #7257 fixed before we stabilize it. |
Motivation
The other day I saw someone asking for JoinMap to be stabalised. I happened to notice just now that the task ID system is now stable in tokio.
Solution
Removes the unstable config requirement for
tokio_util::JoinMap
.