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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start 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