Closed
Description
For convenience, the futures
(well, futures-preview
for now) crate re-exports from all of the futures-*. This can be a nice first experience, being able to use streams, sinks, channels, and what-not out-of-the-box. However, due to this, other libraries have been removing their dependency on futures
to a smaller group that they need (such as futures-core
and futures-util
).
I think it could be useful if a library could depend on futures
while disabling the pieces they don't need. So, like in hyper, it could have futures = { version = "0.3", default-features = false, features = ["util"] }
.
Metadata
Metadata
Assignees
Labels
No labels