Cross-platform window manager library

76 releases (25 breaking)

new 0.26.1 Feb 28, 2024
0.25.0 Feb 3, 2024
0.24.0 Nov 20, 2023
0.21.1 Jul 30, 2023
0.4.0 Jul 14, 2021

#23 in GUI

Download history 28329/week @ 2023-11-07 29733/week @ 2023-11-14 27748/week @ 2023-11-21 27450/week @ 2023-11-28 28859/week @ 2023-12-05 28438/week @ 2023-12-12 23588/week @ 2023-12-19 20629/week @ 2023-12-26 24760/week @ 2024-01-02 25956/week @ 2024-01-09 29383/week @ 2024-01-16 27174/week @ 2024-01-23 29763/week @ 2024-01-30 24977/week @ 2024-02-06 30121/week @ 2024-02-13 30188/week @ 2024-02-20

119,135 downloads per month
Used in 74 crates (21 directly)


24K SLoC

TAO - Window Creation Library

License Chat Server website https://good-labs.github.io/greater-good-affirmation/assets/images/badge.svg support

Cross-platform application window creation library in Rust that supports all major platforms like Windows, macOS, Linux, iOS and Android. Built for you, maintained for Tauri.

Cargo Features

TAO provides the following features, which can be enabled in your Cargo.toml file:

  • serde: Enables serialization/deserialization of certain types with Serde.

Platform-specific notes


This library makes use of the ndk-rs crates, refer to that repo for more documentation.

Running on an Android device needs a dynamic system library, add this to Cargo.toml:

name = "request_redraw_threaded"
crate-type = ["cdylib"]

And add this to the example file to add the native activity glue:

#[cfg_attr(target_os = "android", ndk_glue::main(backtrace = "on"))]
fn main() {

And run the application with cargo apk run --example request_redraw_threaded


Gtk and its related libraries are used to build the support of Linux. Be sure to install following packages before building:

Arch Linux / Manjaro:

sudo pacman -S gtk3

Debian / Ubuntu:

sudo apt install libgtk-3-dev


This is a fork of winit which replaces Linux's port to Gtk. In the future, we want to make these features more modular as separate crates. So we can switch back to winit and also benefit the whole community.



For the complete list of sponsors please visit our website and Open Collective.


~826K SLoC