-
Notifications
You must be signed in to change notification settings - Fork 534
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
Introducing the dedicated windows-future
crate
#3490
Conversation
Any suggestions for dealing with abandoned crate names? The best alternative I can think of is @ChrisDenton @robmikh @riverar Update: or maybe |
The best you can probably do is to try to contact the author and ask if they'd be willing to transfer ownership of the crate. You may be able to ask crates.io to facilitate this but I'm not sure what their current policy is on that. crates.io namespaces are in the works but likely not any time soon. Of those options, |
crates.io does have a policy documented for this: https://crates.io/policies#package-ownership |
The lack of namespacing on crates.io is very unfortunate indeed. Although futures terminology is not common in the Windows developer ecosystem, I agree with @ChrisDenton it's the best option presented thus far. |
Thanks for the feedback all - sounds like |
You could also consider spelling out async, |
There's a reason it's always shortened to "async". 🫠 |
Agreed that |
windows-async
cratewindows-future
crate
Building on
windows-collections
#3483 andwindows-numerics
#3488, this update adds thewindows-async
crate that provides dedicated support for Windows asynchronous programming interfaces in Rust including stock implementations forready
andspawn
to easily implement the various async operations as well asstd::future
implementations ofFuture
andIntoFuture
for all of the async interfaces to allow seamless interop with Rust futures-based libraries.This builds on the overhaul of async future support in #3213 as well as the stock implementations of
ready
andspawn
I introduced in #3221 and #3235.The only snag is that @saelay published the windows-async crate in 2021 which appears to be unused and unmaintained. Unfortunately I have been unable to reach @saelay via a GitHub issue or email and this user does not appear to be active on GitHub any longer - March 2022 was the last sighting - so I'm unsure about how to take ownership of this crate registration so that I can use it for the Windows async support provided here. Worst case I have to find another name but that would not be ideal since this is all about providing support for
IAsyncAction
,IAsyncOperation
,IAsyncOperationWithProgress
, andIAsyncActionWithProgress
so any other name would not be very discoverable.