# retep998/winapi-rs

Rust bindings to Windows API

Repository: https://github.com/retep998/winapi-rs
Canonical: https://ross.abutalabs.com/products/winapi-rs
Homepage: https://crates.io/crates/winapi
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: winapi, rust, windows, ffi
Last push: 2024-04-27T20:28:44+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4376, "days_push": 858, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1931, forks 388 (observed 2026-08-28T04:05:56.071788+00:00)

## What it is
winapi-rs is a Rust crate providing raw FFI bindings to the Windows API, hand-gathered from the Windows 10 SDK. It is a no-op on non-Windows platforms and supports no_std usage.

## Use cases
- call Win32 functions from Rust
- write Windows applications in Rust without C
- access Windows API structs and constants from Rust
- build no_std Windows programs
- replace hand-written Windows FFI declarations in Rust crates

## When to choose
- you need raw, low-level access to the Windows API from Rust
- you want comprehensive Win32 bindings with feature-gated modules
- you are writing a no_std Rust program targeting Windows

## When to avoid
- you want safe, idiomatic Rust wrappers rather than raw unsafe bindings
- you are targeting non-Windows platforms only
- you prefer the newer official windows/windows-rs crates for modern development

## Facets
- artifact type: library
- maturity: maintenance
- function: sdk, developer-tools
- domain: developer-tools, operating-systems, cross-platform
- platform: windows, rust
- tags: ffi, windows-api, bindings, win32, no-std

## Member repositories
- retep998/winapi-rs (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:56.071788+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:08:42.420176+00:00, confidence not recorded.
  - readme: https://github.com/retep998/winapi-rs (fetched 2026-08-28T04:05:56.071788+00:00, sha 3af1ee2f3b8a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
