Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upWinapi in the public API of mio #658
Comments
carllerche
added
the
help wanted
label
Aug 18, 2017
This comment has been minimized.
This comment has been minimized.
|
From IRC:
|
This comment has been minimized.
This comment has been minimized.
|
Basically, we should figure out how to remove winapi from all public apis (unless it plans to hit 1.0 soon) |
This comment has been minimized.
This comment has been minimized.
retep998
commented
Aug 23, 2017
|
winapi has no plans for 1.0 at the moment due to several critical Rust features still being either unstable or unimplemented. |
carllerche
added this to the v0.7 milestone
Nov 7, 2017
carllerche
removed
the
help wanted
label
Nov 7, 2017
This comment has been minimized.
This comment has been minimized.
|
@carllerche Since this still hasn't landed, and we can't really backport the 0.3 migration, |
This comment has been minimized.
This comment has been minimized.
|
The main issue right now is time on my part. My current focus is on getting the Tokio stack stable. I can try to triage the remaining 0.7 issues to see if others can jump on them. The biggest one is going to be to figure out multi thread polling. Is there urgency on getting a winapi update released? The impact should be minimal and mostly be limited to having multiple versions of the crate compiled. |
This comment has been minimized.
This comment has been minimized.
|
That's understandable and totally reasonable. In regards to impact there's
So nothing that warrants making this a critical priority (so far). I personally just don't like that it's not remotely foreseeable when this will land Currently it doesn't seem realistic to me, So maybe splitting in a 0.7 release (with the points that are implementable short-term) and a 0.8 release might make sense along the way. Some triaging/documenting of further todos surely is helpful, I'll certainly take a look. |
dtolnay commentedAug 18, 2017
On windows, the
mio::windows::Overlapped::newandas_mut_ptrmethods refer to winapi in their signature.Since winapi is pre-1.0, this makes it risky to stabilize mio. If a future version of winapi were to change these structs in certain ways, mio may be forced into a breaking change to pick them up.
Let's either figure out a way to keep these winapi types out of mio's public API, or lay out a plan for how we would deal with a hypothetical future release of winapi. If the latter, the plan should be clearly documented in comments in the windows module.