Rust for Windows

This page summarizes the projects mentioned and recommended in the original post on /r/programming

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • windows-rs

    Rust for Windows

  • win32metadata

    Tooling to generate metadata for Win32 APIs in the Windows SDK.

    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.

  • winapi-rs

    Rust bindings to Windows API

    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.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts