Microsoft Windows API bindings
  • Rust 98.2%
  • C 1.3%
  • HTML 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Copilot 561541f3aa
Some checks failed
msrv-windows / msrv-windows (push) Has been cancelled
msrv / msrv (push) Has been cancelled
cross / x64 gnullvm (push) Has been cancelled
docs / windows (push) Has been cancelled
docs / windows-sys (push) Has been cancelled
docs / other-crates (push) Has been cancelled
docs / linux (push) Has been cancelled
fmt / fmt (push) Has been cancelled
gen / tool_bindings (push) Has been cancelled
clippy / clippy (push) Has been cancelled
cross / arm64 gnullvm (push) Has been cancelled
cross / i686 gnullvm (push) Has been cancelled
cross / x64 gnu (push) Has been cancelled
gen / tool_license (push) Has been cancelled
gen / tool_workspace (push) Has been cancelled
gen / tool_yml (push) Has been cancelled
lib / lib (push) Has been cancelled
miri / miri (push) Has been cancelled
no-default-features / linux (push) Has been cancelled
no-default-features / no-default-features (push) Has been cancelled
no_std / nightly (push) Has been cancelled
no_std / stable (push) Has been cancelled
publish / publish (push) Has been cancelled
slim_errors / i686 (push) Has been cancelled
slim_errors / x64 (push) Has been cancelled
test / stable arm64 (push) Has been cancelled
test / nightly i686 (push) Has been cancelled
test / stable x64 (push) Has been cancelled
test / stable linux (push) Has been cancelled
Extend --minimal to drop sys-style handle and free function ergonomics (#4400)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
2026-05-07 07:14:47 -05:00
.cargo Move warnings-as-errors from .cargo/config.toml to CI workflow (#4178) 2026-04-13 16:11:42 -05:00
.github Refactor windows-bindgen testing (#4389) 2026-05-05 15:48:31 -05:00
crates Extend --minimal to drop sys-style handle and free function ergonomics (#4400) 2026-05-07 07:14:47 -05:00
docs Retire docs/cross-todo.md and drop docs.rs Windows default-target for fully cross-platform crates (#4358) 2026-05-01 07:39:15 -05:00
web Bump postcss from 8.4.49 to 8.5.10 in /web/features (#4308) 2026-04-25 09:44:16 -07:00
.gitattributes Add Rust for Windows book and create unified docs/web area (#3733) 2025-09-02 10:09:52 -05:00
.gitignore Make RUSTFLAGS and git diff checks consistent across workflows (#4237) 2026-04-21 13:31:24 -05:00
Cargo.toml Simplify workspace members globs in Cargo.toml (#4258) 2026-04-22 10:21:56 -05:00
license-apache-2.0 Adjust license placement for GitHub auto-detection (#1879) 2022-07-07 22:15:23 -07:00
license-mit Adjust license placement for GitHub auto-detection (#1879) 2022-07-07 22:15:23 -07:00
rustfmt.toml Fix default rustfmt for repo (#3084) 2024-06-10 11:17:09 -05:00

Rust for Windows

The windows and windows-sys crates let you call any Windows API past, present, and future using code generated on the fly directly from the metadata describing the API and right into your Rust package where you can call them as if they were just another Rust module. The Rust language projection follows in the tradition established by C++/WinRT of building language projections for Windows using standard languages and compilers, providing a natural and idiomatic way for Rust developers to call Windows APIs.

This repo is the home of the following crates (and other supporting crates):