5 unstable releases

new 0.3.1 Jul 15, 2024
0.3.0 May 12, 2024
0.2.0 Dec 28, 2023
0.1.1 Dec 19, 2023
0.1.0 Dec 18, 2023

#451 in GUI

Download history 1/week @ 2024-03-24 12/week @ 2024-03-31 255/week @ 2024-05-12 45/week @ 2024-05-19 16/week @ 2024-05-26 47/week @ 2024-06-02 25/week @ 2024-06-09 234/week @ 2024-06-16 17/week @ 2024-06-23 3/week @ 2024-06-30 108/week @ 2024-07-07

364 downloads per month
Used in kludgine


1.5K SLoC


appit is considered alpha and unsupported crate version Documentation for main branch

An opinionated wrapper for winit that provides a trait-based, multi-threaded approach to implementing multi-window applications.

This crate's main type is WindowBehavior, a trait that provides functions for nearly every winit::event::WindowEvent. This allows you to implement exactly which events you wish to respond to, and ignore the rest without a large match statement.

This crate also keeps track of the redraw state of the window, and allows scheduling redraws in the future.

use appit::WindowBehavior;

struct MyWindow;

impl WindowBehavior for MyWindow {
    type Context = ();

    fn initialize(_window: &mut appit::RunningWindow, _context: Self::Context) -> Self {

    fn redraw(&mut self, window: &mut appit::RunningWindow) {
        println!("Should redraw");

fn main() {

Project Status

This project is early in development as part of Kludgine and Cushy. It is considered alpha and unsupported at this time, and the primary focus for @ecton is to use this for his own projects. Feature requests and bug fixes will be prioritized based on @ecton's own needs.

If you would like to contribute, bug fixes are always appreciated. Before working on a new feature, please open an issue proposing the feature and problem it aims to solve. Doing so will help prevent friction in merging pull requests, as it ensures changes fit the vision the maintainers have for Cushy.


~273K SLoC