Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/microsoft/windows-rs
Rust for Windows
https://github.com/microsoft/windows-rs
rust windows
Last synced: 3 days ago
JSON representation
Rust for Windows
- Host: GitHub
- URL: https://github.com/microsoft/windows-rs
- Owner: microsoft
- License: apache-2.0
- Created: 2019-09-12T17:03:25.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-28T16:00:31.000Z (about 1 month ago)
- Last Synced: 2024-10-29T16:23:01.855Z (about 1 month ago)
- Topics: rust, windows
- Language: Rust
- Homepage: https://kennykerr.ca/rust-getting-started/
- Size: 1010 MB
- Stars: 10,419
- Watchers: 128
- Forks: 490
- Open Issues: 29
-
Metadata Files:
- Readme: docs/readme.md
- Contributing: docs/contributing.md
- License: license-apache-2.0
- Code of conduct: docs/code_of_conduct.md
- Security: docs/security.md
Awesome Lists containing this project
- programming-awesome-list - windows-rs - Windows bindings for rust (Libraries & Frameworks: / Graphics)
- awesome-rust - microsoft/windows-rs - rs/workflows/CI/badge.svg)](https://github.com/microsoft/windows-rs/actions) (Libraries / Platform specific)
- awesome-luooooob - microsoft/windows-rs - Rust for Windows (Rust)
- awesome-starts - microsoft/windows-rs - Rust for Windows (Rust)
- awesome-list - windows-rs
- awesome-hacking-lists - microsoft/windows-rs - Rust for Windows (Rust)
- StarryDivineSky - microsoft/windows-rs - sys crate 允许您使用直接从描述 API 的元数据中动态生成的代码来调用任何 Windows API 过去、现在和将来,并直接进入您的 Rust 包中,在那里您可以调用它们,就好像它们只是另一个 Rust 模块一样。Rust 语言投影遵循 C++/WinRT 建立的传统,即使用标准语言和编译器为 Windows 构建语言投影,为 Rust 开发人员调用 Windows API 提供了一种自然而惯用的方式。 (Rust 程序设计 / 网络服务_其他)
- jimsghstars - microsoft/windows-rs - Rust for Windows (Rust)
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/#/master)This repo is the home of the following crates (and other supporting crates):
* [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) - Windows metadata compiler library.
* [windows-core](https://crates.io/crates/windows-core) - Type support for the `windows` crate.
* [windows-implement](https://crates.io/crates/windows-implement) - The `implement` macro for the `windows` crate, for implementing COM interfaces.
* [windows-interface](https://crates.io/crates/windows-interface) - The `interface` macro for the `windows` crate, for declaring COM interfaces.
* [windows-metadata](https://crates.io/crates/windows-metadata) - Windows metadata reader.
* [windows-registry](https://crates.io/crates/windows-registry) - Windows registry.
* [windows-result](https://crates.io/crates/windows-result) - Windows error handling.
* [windows-strings](https://crates.io/crates/windows-strings) - Windows string types.
* [windows-sys](https://crates.io/crates/windows-sys) - Raw bindings for C-style Windows APIs.
* [windows-targets](https://crates.io/crates/windows-targets) - Import libs for Windows.
* [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.