- Rust 98.2%
- C 1.3%
- HTML 0.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
Some checks failed
test / stable linux (push) Has been cancelled
miri / miri (push) Has been cancelled
msrv-windows / msrv-windows (push) Has been cancelled
msrv / msrv (push) Has been cancelled
cross / i686 gnullvm (push) Has been cancelled
cross / x64 gnu (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
clippy / clippy (push) Has been cancelled
cross / arm64 gnullvm (push) Has been cancelled
no_std / nightly (push) Has been cancelled
no_std / stable (push) Has been cancelled
publish / publish (push) Has been cancelled
gen / tool_bindings (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
no-default-features / linux (push) Has been cancelled
no-default-features / no-default-features (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
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com> |
||
| .cargo | ||
| .github | ||
| crates | ||
| docs | ||
| web | ||
| .gitattributes | ||
| .gitignore | ||
| Cargo.toml | ||
| license-apache-2.0 | ||
| license-mit | ||
| rustfmt.toml | ||
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):
-
windows-sys - Raw bindings for C-style Windows APIs.
-
windows - Safer bindings including C-style APIs as well as COM and WinRT APIs.
-
windows-bindgen - Code generator for Windows metadata.
-
windows-collections - Windows collection types.
-
windows-core - Core type support for COM and Windows.
-
windows-metadata - Low-level metadata library for ECMA-335.
-
windows-future - Windows async type support.
-
windows-link - Linking for Windows.
-
windows-numerics - Windows numeric types.
-
windows-registry - Windows registry.
-
windows-result - Windows error handling.
-
windows-services - Windows services.
-
windows-strings - Windows string types.
-
windows-targets - Import libs for Windows (and the precursor to
windows-linkfor older compilers). -
windows-threading - Windows threading.
-
windows-version - Windows version information.
-
cppwinrt - Bundles the C++/WinRT compiler for use in Rust.