This repo provides a comprehensive set of Rust crates for building Windows applications — from low-level API access to high-level declarative UI.
This repo is the home of the following crates:
- windows-animation - Variable interpolation via the Windows Animation Manager. Docs
- windows-bindgen - Code generator that produces bindings from Windows metadata. Docs
- windows-canvas - Idiomatic 2D graphics built on Direct2D. Docs
- windows-collections - WinRT collection types.
- windows-core - Fundamental COM/Windows types.
- windows-future - WinRT async bridged to Rust futures.
- windows-implement - Proc macro for implementing COM interfaces.
- windows-interface - Proc macro for defining COM interfaces.
- windows-link - Raw-dylib linking support.
- windows-metadata - Low-level ECMA-335 metadata reader/writer.
- windows-numerics - Graphics math types.
- windows-reactor - Declarative UI library backed by WinUI 3. Docs
- windows-reference - Stock
IReference<T>implementation. - windows-registry - Safe Windows registry access.
- windows-result - Windows error handling.
- windows-services - Windows service control and runtime.
- windows-strings - Windows string types.
- windows-sys - Raw bindings for C-style Windows APIs.
- windows-targets - Import libs for older compilers.
- windows-threading - Thread pool work items, timers, and waits.
- windows-time - Windows time types. Docs
- windows-version - Windows version information.
- windows - Safer bindings for C-style, COM, and WinRT APIs.
- cppwinrt - Bundles the C++/WinRT compiler for use in Rust.
See crates.md for detailed usage examples and API descriptions.