windows-version

Rust for Windows

Latest version: 0.1.7 registry icon
Maintenance score
100
Safety score
100
Popularity score
100
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High Critical
0.1.7 0 0 0 0 0
0.1.6 0 0 0 0 0
0.1.5 0 0 0 0 0
0.1.4 0 0 0 0 0
0.1.3 0 0 0 0 0
0.1.2 0 0 0 0 0
0.1.1 0 0 0 0 0
0.1.0 0 0 0 0 0
0.0.0 0 0 0 0 0

Stability
Latest release:

0.1.7 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

MIT   -   MIT License

Not a wildcard

Not proprietary

OSI Compliant


Apache-2.0   -   Apache License 2.0

Not a wildcard

Not proprietary

OSI Compliant



This repo provides a comprehensive set of Rust crates for building Windows applications — from low-level API access to high-level declarative UI.

How these docs are organized

Each crate has one page under crates/ covering both usage and internals — how the crate is built and maintained (the tool_bindings / tool_reactor / tool_package codegen pipeline, generated files, and conventions). Each crate's own readme.md is the user-facing introduction with a quick example, and the per-crate page links to it. Item-level API reference is the generated rustdoc on docs.rs, linked from every page.

Crates

Core & error handling

Crate Description
windows-core Fundamental COM and Windows type support.
windows-result Windows error handling and propagation.
windows-strings Windows string interop types and macros.

Values & collections

Crate Description
windows-numerics Graphics math types (vectors and matrices).
windows-collections Stock WinRT collection types.
windows-reference Stock IReference<T> implementation.
windows-time WinRT TimeSpan and DateTime.

Async & threading

Crate Description
windows-future WinRT async bridged to Rust futures.
windows-threading Safe wrapper over the Win32 thread pool.

System services

Crate Description
windows-registry Safe Windows registry access.
windows-services Author Windows services in Rust.
windows-version Query the Windows version at runtime.

COM macros & linking

Crate Description
windows-implement #[implement] proc macro for COM/WinRT.
windows-interface #[interface] proc macro for COM interfaces.
windows-link Raw-dylib import support (link!).
windows-targets Import libs for older compilers.

UI & graphics

Crate Description
windows-reactor Declarative UI library backed by WinUI 3.
windows-canvas 2D graphics built on Direct2D.
windows-webview Safe wrapper around the WebView2 browser control.
windows-window Minimal window creation and message loop.
windows-animation Wrapper around the Windows Animation Manager.
windows-reactor-setup Windows App Runtime installer for reactor apps.

Codegen & metadata tooling

Crate Description
windows-bindgen Code generator for Windows metadata.
windows-metadata Low-level ECMA-335 metadata library.
windows-rdl RDL parser and ECMA-335 generator.
riddle Windows metadata compiler.
cppwinrt Bundles the C++/WinRT compiler.

Full Windows API projection

These crates project the entire Windows API surface. For new projects, prefer a focused binding generated with windows-bindgen, or compose the smaller crates above.

Crate Description
windows Safer projection of C-style, COM, and WinRT APIs.
windows-sys Zero-overhead raw bindings for C-style Windows APIs.