# winrt-rs **Repository Path**: mirrors/winrt-rs ## Basic Information - **Project Name**: winrt-rs - **Description**: Rust/WinRT 用标准语言和编译器为 Windows 运行时构建语言投影,从而方便 Rust 开发人员调用 Windows API,更轻松地使用 Rust 构建各类 Wind - **Primary Language**: Rust - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/winrt-rs - **GVP Project**: No ## Statistics - **Stars**: 13 - **Forks**: 1 - **Created**: 2020-05-03 - **Last Updated**: 2025-10-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Rust for Windows The [windows](https://crates.io/crates/windows) and [windows-sys](https://crates.io/crates/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](https://github.com/microsoft/windows-rs/tree/master/crates/libs/bindgen/default) 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](https://github.com/microsoft/cppwinrt) of building language projections for Windows using standard languages and compilers, providing a natural and idiomatic way for Rust developers to call Windows APIs. * [Getting started](https://kennykerr.ca/rust-getting-started/) * [Samples](https://github.com/microsoft/windows-rs/tree/master/crates/samples) * [Releases](https://github.com/microsoft/windows-rs/releases) * [Feature search](https://microsoft.github.io/windows-rs/features) This repo is the home of the following crates (and other supporting crates): * [windows-sys](https://crates.io/crates/windows-sys) - Raw bindings for C-style Windows APIs. * [windows](https://crates.io/crates/windows) - Safer bindings including C-style APIs as well as COM and WinRT APIs. * [windows-bindgen](https://crates.io/crates/windows-bindgen) - Code generator for Windows metadata. * [windows-collections](https://crates.io/crates/windows-collections) - Windows collection types. * [windows-core](https://crates.io/crates/windows-core) - Core type support for COM and Windows. * [windows-metadata](https://crates.io/crates/windows-metadata) - Low-level metadata library for ECMA-335. * [windows-future](https://crates.io/crates/windows-future) - Windows async type support. * [windows-link](https://crates.io/crates/windows-link) - Linking for Windows. * [windows-numerics](https://crates.io/crates/windows-numerics) - Windows numeric types. * [windows-registry](https://crates.io/crates/windows-registry) - Windows registry. * [windows-result](https://crates.io/crates/windows-result) - Windows error handling. * [windows-services](https://crates.io/crates/windows-services) - Windows services. * [windows-strings](https://crates.io/crates/windows-strings) - Windows string types. * [windows-targets](https://crates.io/crates/windows-targets) - Import libs for Windows (and the precursor to `windows-link` for older compilers). * [windows-threading](https://crates.io/crates/windows-threading) - Windows threading. * [windows-version](https://crates.io/crates/windows-version) - Windows version information. * [cppwinrt](https://crates.io/crates/cppwinrt) - Bundles the C++/WinRT compiler for use in Rust.