Would std code for Windows ever use the windows crate by Microsoft?

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

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

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

  • The Rust bindings are indeed generated from metadata, which provides several language projections, not only Rust.

  • rust

    Empowering everyone to build reliable and efficient software.

  • 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

  • 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.

    WorkOS logo
  • winsafe

    Windows API and GUI in safe, idiomatic Rust.

  • 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.

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