Files
pebrel/third_party/winit-0.30.13
kuddev 6cb1120f53 feat: proxy jump hosts, unified overlay widgets, and win32 input hardening
- SSH proxying resolves per-host > ~/.ssh/config ProxyJump > global;
  new jump:<host> syntax (single hop, chains rejected with a clear
  error) and a system mode that reads the Windows registry proxy
- Win32 input mode: control keys carry their true KEY_EVENT_RECORD
  character so Esc reaches byte-stream readers (Claude Code); focus
  reports while active; synthesized modifier key-ups on focus loss;
  resize coalescing per channel drain; flagless ConPTY retry; PTY
  transport failures surface and tear the session down
- Overlay panels (command palette, launcher, session picker, combobox
  dropdowns) share the new ui/overlay_list components; settings row
  actions share an outline-button widget
- Settings SSH rows draw per-host OS icons instead of a status ring
- IME cursor-area pushes are deduplicated to stop render-thread stalls
  during Chinese input in PowerShell; cache invalidated on focus/IME
  changes
- Input latency probes behind NEBULA_INPUT_LATENCY=1
2026-08-09 15:12:43 +08:00
..

winit - Cross-platform window creation and management in Rust

Crates.io Docs.rs Master Docs CI Status

[dependencies]
winit = "0.30.13"

Documentation

For features within the scope of winit, see FEATURES.md.

For features outside the scope of winit, see Are we GUI Yet? and Are we game yet?, depending on what kind of project you're looking to do.

Contact Us

Join us in our Matrix room.

The maintainers have a meeting every friday at UTC 15. The meeting notes can be found here.

Usage

Winit is a window creation and management library. It can create windows and lets you handle events (for example: the window being resized, a key being pressed, a mouse movement, etc.) produced by the window.

Winit is designed to be a low-level brick in a hierarchy of libraries. Consequently, in order to show something on the window you need to use the platform-specific getters provided by winit, or another library.

CONTRIBUTING

For contributing guidelines see CONTRIBUTING.md.

MSRV Policy

This crate's Minimum Supported Rust Version (MSRV) is 1.70. Changes to the MSRV will be accompanied by a minor version bump.

As a tentative policy, the upper bound of the MSRV is given by the following formula:

min(sid, stable - 3)

Where sid is the current version of rustc provided by Debian Sid, and stable is the latest stable version of Rust. This bound may be broken in case of a major ecosystem shift or a security vulnerability.

The exception is for the Android platform, where a higher Rust version must be used for certain Android features. In this case, the MSRV will be capped at the latest stable version of Rust minus three. This inconsistency is not reflected in Cargo metadata, as it is not powerful enough to expose this restriction.

All crates in the rust-windowing organizations have the same MSRV policy.

Platform-specific usage

Check out the winit::platform module for platform-specific usage.