# windows-rs

> Microsoft's Rust crates for calling Windows APIs, from COM and WinRT to system services and raw bindings

Source: https://talira.ai/catalog/windows-rs-j2gbtbbw
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / system bindings](https://talira.ai/categories/libraries/system-bindings)
- Platforms: windows[^1]
- Licence: MIT OR Apache-2.0[^2][^3]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Microsoft](https://talira.ai/orgs/microsoft.md)
- Funding: public company (NASDAQ:MSFT)[^4]

windows-rs is Microsoft's set of Rust crates for Windows APIs, from COM and WinRT support and system services to UI and raw bindings. Focused crates cover core types and interop (COM and WinRT types and authoring macros, error handling, strings, linking without import libraries), collections, numerics and time, async and threading and more; the `windows` and `windows-sys` crates provide pre-generated bindings for the rest behind feature flags, and `windows-bindgen` generates a project-specific set. It's dual-licensed MIT or Apache 2.0.

## Links

- GitHub: https://github.com/microsoft/windows-rs
- Docs: https://docs.rs/windows

## Problems it solves

- I want to call Win32 APIs from Rust
- I need to use COM or WinRT from a Rust program
- I want lightweight raw Windows bindings for my Rust app

## Features

- Rust bindings for Windows APIs
- COM and WinRT types and authoring macros
- Focused crates for errors, strings, collections, async and more
- Pre-generated windows and windows-sys crates behind feature flags
- windows-bindgen for project-specific bindings

## Trust

Overall: 0.74 out of 1.
Signals: maintenance 1.00, adoption 0.82, momentum 0.66, community 0.77, backing 0.55, extensibility 0.00.

- last commit today
- 433 commits in the last 90 days
- latest release 74 2 months ago
- 13.0k GitHub stars
- 85 contributors
- backed by Microsoft
- funding: public company (NASDAQ:MSFT)

## Alternatives

- [libc](https://talira.ai/catalog/libc-3saddh68.md): Raw bindings to platform APIs for Rust
- [nix (Rust)](https://talira.ai/catalog/nix-rust-1rk1c0e2.md): Safe Rust bindings to Unix and Linux system APIs

## Sources

[^1]: https://github.com/microsoft/windows-rs/blob/master/docs/readme.md (checked 30 Nov 2026)
[^2]: https://github.com/microsoft/windows-rs/blob/master/license-mit (checked 30 Nov 2026)
[^3]: https://github.com/microsoft/windows-rs/blob/master/license-apache-2.0 (checked 30 Nov 2026)
[^4]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
