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
meta: consider combining crates #1264
Comments
As part of this, I would like to propose moving the I/O helpers back into the tokio-io crate. They would be feature flagged, so you could get tokio-io w/ just the traits. The goal is to be able to use the I/O helpers in other tokio crates (like tokio-fs). |
These have a similar notion of ancillary data, so if/when I or someone gets around to coming up with a safe zero-cost interface to that, having them in one place where they can share abstractions makes sense. |
And how about combining |
@leaxoy added it to the list 👍 |
The `CurrentThread` executor is exposed using a feature flag. Refs: #1264
The `CurrentThread` executor is exposed using a feature flag. Refs: #1264
* reactor: rename tokio-reactor -> tokio-net This is in preparation for #1264
The threadpool is behind a feature flag. Refs: #1264
The threadpool is behind a feature flag. Refs: #1264
Space is made to add `tcp`, `udp`, `uds`, ... modules
i know the decisions here are mostly final/already implemented -- but still: what was the reasoning to put |
Crates are split up by their dependencies. -process depends on mio and -net is the crate that pulls in -mio. |
Most crates are now combined. |
Tokio has grown into many crates. Maintaining many separate crates requires overhead. I do not believe, in some cases, the benefits outweigh the overhead.
The primary reason to split functionality into crates is to enable releasing breaking changes at a different pace. Collapsed crates can maintain feature flags to enable / disable the various components to provide.
Some possibility of crates to collapse:
The text was updated successfully, but these errors were encountered: