Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
The Rust bindings are indeed generated from metadata, which provides several language projections, not only Rust.
std does depend on several crates from crates.io, although all are owned by rust-lang GitHub org or Rust team members https://github.com/rust-lang/rust/blob/master/library/std/Cargo.toml
An idiomatic Rust API would add a layer on top of that, providing safe abstractions and taking advantage of lifetime guarantees, which is what the winsafe crate aims for. Of course, you can't automate this kind of thing, so it's very laborious, and it probably will never cover 100% of the vast Win32 API surface.