15 releases

0.6.1 Apr 20, 2024
0.6.0 Oct 1, 2023
0.5.2 Mar 31, 2023
0.5.0 Jul 15, 2022
0.0.0 Jul 25, 2019

#4 in GUI

Download history 141908/week @ 2024-01-10 165454/week @ 2024-01-17 165913/week @ 2024-01-24 169625/week @ 2024-01-31 179462/week @ 2024-02-07 176221/week @ 2024-02-14 186266/week @ 2024-02-21 199847/week @ 2024-02-28 193197/week @ 2024-03-06 188888/week @ 2024-03-13 192760/week @ 2024-03-20 221023/week @ 2024-03-27 190369/week @ 2024-04-03 192264/week @ 2024-04-10 209156/week @ 2024-04-17 175961/week @ 2024-04-24

803,087 downloads per month
Used in 3,200 crates (268 directly)

MIT OR Apache-2.0 OR Zlib

67KB
718 lines

raw-window-handle: A common windowing interoperability library for Rust

Crates.io Docs CI Status

This library provides standard types for accessing a window's platform-specific raw window handle and display's platform-specific raw display handle. This does not provide any utilities for creating and managing windows; instead, it provides a common interface that window creation libraries (e.g. Winit, SDL) can use to easily talk with graphics libraries (e.g. gfx-hal).

MSRV Policy

The Minimum Safe Rust Version (MSRV) of this crate as of the time of writing is 1.64.0. For pre-1.0 releases of raw-window-handle, this version will not be changed without a patch bump to the version of raw-window-handle. After version 1.0.0 is released, changes to the MSRV will necessitate a minor version bump.

When the wasm-bindgen-0-2 feature is enabled, the MSRV of this crate will be raised to the MSRV of the latest version of wasm-bindgen.

Dependencies

~235KB