-
Notifications
You must be signed in to change notification settings - Fork 160
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
Tracking issue for smol v2.0.0 #258
Comments
(polling is not used in the other smol-rs crates' public API, so it is not always necessarily tracked here.) |
Good catch; I've removed |
@taiki-e What is the status of rust-lang/futures-rs#2207? Since |
It is blocked on the |
I am in the process of publishing releases for the
Once all of these are published we should be good-to-go to release smol v2.0. @smol-rs/admins Last real chance to make any breaking changes. Thoughts on this? |
When you start a new project with smol v1 right now it pulls in both async-io v1 and v2:
|
Maybe because async-signal raised the major version of async-io with a patch version (smol-rs/async-signal#26). Does downgrading async-signal cause the same problem? |
|
Smol v2 is now out |
Recently, it has been proposed to make a breaking change in the
async-io
crate to use I/O safe abstractions rather thanAsRawFd
(smol-rs/async-io#136). This would be a very large breaking change, sinceasync-io
is also re-exported insmol
. Therefore, a breaking change inasync-io
would lead to use releasingsmol
v2.0.0. This issue aims to discuss if this should be done, how this should be done, and the potential impacts of this being done.Discussion Questions
1). Should this happen?
First off, we should ask if this should even happen in the first place. It would be best for ecosystem cohesion to avoid a breaking change, after all. It was suggested that we could just add another constructor to
Async
that takes anAsFd
type. However, it's been three years sincesmol
v1.0.0 was released, and there are other breaking changes that could be made (see below). So the question is: are these breaking changes worth the major version bump?2). What should happen?
Proposed examples of breaking changes, feel free to add any that I missed:
async-fs
async-lock
std
feature forno_std
usageasync-io
AsFd
instead ofAsRawFd
in the public API (Support creating anAsync
withAsFd
rather thanAsRawFd
async-io#136)std
in the public API (Dropfuture::{ready,pending}
at the next bigger release futures-lite#35)3). Who would be impacted?
async-std
re-exports some of our crates in their public API, so this would affect them. cc @joshtriplett and @yoshuawuyts: are you find with this?The text was updated successfully, but these errors were encountered: