rust-errno
rust-errno copied to clipboard
Use windows-bindgen to replace windows-sys with generated bindings?
windows-sys is a large crate (a 2.4M download) with considerable churn. The windows-rs org also provides a windows-bindgen API that crates can use to generate their own bindings for the part of the API that they need, which trades some downstream complexity for maintenance complexity (although the latter is pretty limited in my experience). See https://github.com/nushell/nu-ansi-term/pull/71 for an example.
Would you be open to something like this for errno? It seems like a good fit to me.