#windowing #raw-window-handle #handle

no-std raw-window-handle

Interoperability library for Rust Windowing applications

16 releases

0.6.2 May 17, 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

#12 in GUI

Download history 189471/week @ 2024-12-17 165372/week @ 2024-12-24 173420/week @ 2024-12-31 217810/week @ 2025-01-07 212938/week @ 2025-01-14 217560/week @ 2025-01-21 235604/week @ 2025-01-28 285698/week @ 2025-02-04 441387/week @ 2025-02-11 476599/week @ 2025-02-18 510608/week @ 2025-02-25 523288/week @ 2025-03-04 519319/week @ 2025-03-11 480481/week @ 2025-03-18 475514/week @ 2025-03-25 450060/week @ 2025-04-01

2,012,961 downloads per month
Used in 4,208 crates (325 directly)

MIT OR Apache-2.0 OR Zlib

72KB
752 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

~215KB