<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Fri, 3 Aug 2018 at 22:57 Chris Lamb <<a href="mailto:ftpmaster@ftp-master.debian.org">ftpmaster@ftp-master.debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Why is this called "miow"?  Something I/O for Windows?<br></blockquote><div><br></div><div>Yes.</div><div><br></div><div>The original/popular low-level IO library (select/poll abstraction) for Rust is called "mio" ("Metal I/O").  This is a Windows library along the same theme.</div><div><br></div><div>Just anticipating your next question: Yes, the windows library is still required in Debian/unix.  It's possible for dependencies to be conditional on the target platform in cargo metadata, but this appears to be rarely used in practice (for a variety of reasons).  Most libraries instead just use conditional-compilation to compile down to no-ops on the wrong platform (ie: onus on the library author), rather than conditional cargo dependencies (ie: onus on the library consumer).</div><div><br></div><div>For Debian packaging, we _could_ go through and patch everything to use conditional dependencies instead.  That's a non-trivial amount of work to do and maintain, and in practice removes only a handful of Windows-specific libraries across the entire set of Rust packages. Thus, it is not something we've rushed to commit to - particularly at this bootstrapping stage.</div><div><br></div><div> - Gus</div></div></div>