-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
feat(tokio_util): Stabilise JoinMap #7075
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,15 +21,16 @@ categories = ["asynchronous"] | |
default = [] | ||
|
||
# Shorthand for enabling everything | ||
full = ["codec", "compat", "io-util", "time", "net", "rt"] | ||
full = ["codec", "compat", "io-util", "time", "net", "rt", "join-map"] | ||
|
||
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"] | ||
|
||
__docs_rs = ["futures-util"] | ||
|
||
|
@@ -43,8 +44,6 @@ futures-util = { version = "0.3.0", optional = true } | |
pin-project-lite = "0.2.11" | ||
slab = { version = "0.4.4", optional = true } # Backs `DelayQueue` | ||
tracing = { version = "0.1.29", default-features = false, features = ["std"], optional = true } | ||
|
||
[target.'cfg(tokio_unstable)'.dependencies] | ||
hashbrown = { version = "0.14.0", default-features = false, optional = true } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm. I'll have to think about what implications this has for our MSRV. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hashbrown 0.14.0 has a It doesn't seem to have an explicit MSRV policy, but it is inline with tokio-util's 1.70.0 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm okay with this, but I don't want to require hashbrown if you're just using the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That seems reasonable. Will do |
||
|
||
[dev-dependencies] | ||
|
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?