Skip to content

Update to focused 0.100 windows crates to follow Microsoft guidance #1680

Open

Description

@Havunen

Replace windows-sys with focused Windows 0.100.0 bindings. This is done to follow Microsft Upstream guidance here:

https://github.com/microsoft/windows-rs

Prefer the focused crates below when they cover the functionality you need. For additional APIs, windows-bindgen can generate a minimal project-specific binding, while windows and windows-sys provide broad API coverage behind feature flags for binary applications.

Reusable libraries should avoid the windows and windows-sys umbrella crates. They add dependency weight and version churn, and several libraries can bring incompatible versions of the same large crate into one dependency tree. Prefer the focused crates for shared Windows types and generate any remaining private bindings with windows-bindgen.

Activity

  1. xtqqczze commented on Sep 17, 2026

    @xtqqczze
    Contributor

    The Windows 0.100.0 bindings require an MSRV of 1.95. rustix is deliberately very conservative about its MSRV, which is currently 1.65, so adopting these bindings would require a substantial MSRV increase that is not something we can reasonably do in the foreseeable future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions