Cross-platform window creation and management in Rust. 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.

Features

  • Enables serialization/deserialization of certain types with Serde
  • x11 (enabled by default): On Unix platform, compiles with the X11 backend
  • wayland (enabled by default): On Unix platform, compiles with the Wayland backend
  • mint: Enables mint (math interoperability standard types) conversions
  • Cross-platform window creation
  • Provides Documentation

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow winit

winit Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of winit!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Rust

Related Categories

Rust Libraries

Registered

2023-05-31