Our great sponsors
-
-
Win32 API can also be accessed through other languages easily similar to what was shown in this video https://github.com/microsoft/win32metadata
-
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 windows crate is Microsoft's own first-party option for writing Rust code against Windows' native APIs. The winapi crate was previously a popular community-built option. It works slightly differently than the official one. My understanding is that the official one requires that you have a Windows SDK installed in addition to the Rust toolchain, and that the Rust compiler builds the bindings to that SDK on-demand. (That's what the nested bindings library is for in this video.) The winapi crate, on the other hand, is the bindings, prebuilt and ready to use. On one hand, this is probably easier for you, the application developer, to use; on the other hand, it probably also requires more human effort by the library maintainers to add support for new APIs.
Related posts
- I seen people say that () is similar to void in C. But what is similar to void*?
- Kernel Headers for Windows could soon make it into windows-rs
- Noob question - Can I see what my used cargo crate has inside?
- Building Outer Wonders, our Rust/SDL2 puzzle game, for Windows
- Official WinRT+Win32 Crate for Rust