Smithay declares no homepage, ships a sample compositor called anvil, and asks AI-assisted contributors to read a policy first
A smithy for rusty wayland compositors
At a glance
- What is it?
- Smithay is a MIT-licensed Rust library of building blocks for Wayland compositors, with four stated principles, an optional dependency set that maps onto ten system libraries, and twelve compositors listed as users. Its newest tag is fifteen months behind its last push, and the root carries an AI contribution policy beside a developer certificate of origin.
- Who is it for?
- Use Smithay if you are writing a Wayland compositor in Rust and want protocol handling, an event loop and input plumbing already solved, rather than a framework to adopt. What the project offers is deliberately not a framework, and it says so: you are never required to use any component, and the high-level claim is that you should not have to touch the low-level parts unless you want to.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 1 day ago.
- What is it written in?
- Mainly Rust, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- Smithay/smithay3,404 ★ · +139
| Repository | 2026-09-24 | 2026-11-25 |
|---|---|---|
| Smithay/smithay | 3.3k | 3.4k |
139 Stars in the last 62 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The repository declares no homepage while its manifest declares one
Two sources of identity in this repository disagree about whether there is a website.
No homepage is recorded for the repository. The crate manifest, which is the thing a reader sees on a package registry, declares one, and it points at a documentation site rather than at a marketing page. The README also links a documentation site for the branch, separate from the one the registry builds.
So the repository listing a person is likely to inspect shows an empty homepage field, while the package listing shows a URL. Neither is wrong, and neither points at the other.
The same split shows up in identity more generally. The repository description calls the project a smithy for rust-written Wayland compositors, the crate description calls it a library for writing Wayland compositors, and the README's centred line uses the pun again. Three phrasings of the same thing, one of which is a joke about metalworking, which is where the name comes from.
It is not archived, and the last push to the default branch master is dated 2026-09-30.
The newest tag is fifteen months behind the last push, and two releases have names
Three releases are visible, and they are not formatted the same way.
The newest is v0.7.0 with a title matching the tag. The one before it is v0.6.0, titled with a metalworking pun, and before that v0.5.0 with a different one. So the project names some releases and leaves others plain, and the plain one is the current one.
The dates matter more than the names. v0.7.0 was published 2025-06-24. The last push to master is dated 2026-09-30, fifteen months later.
That gap is the normal consequence of a pre-1.0 library that keeps moving without cutting a release for every change, and the version in the crate manifest matches the newest tag rather than the branch. So installing from a registry gives you v0.7.0, and building from the branch gives you something fifteen months newer under the same major and minor version.
Anyone pinning a dependency should pin the exact version and read the changelog at the root, since the branch and the release are different code with the same version number.
It says it is not a framework, and lists the three things it will not do
The goals section is short, and the strongest claim in it is a refusal.
Smithay aims to provide building blocks for writing Wayland compositors in Rust. It is explicitly not a full-blown compositor: it supplies objects and interfaces implementing the functionalities that pretty much any compositor will need, in a generic fashion, and leaves the compositor itself to you.
Then come four principles, and two of them are about what the library refuses to require of you. Modularity is stated as: not a framework, no constraints imposed, and you are never required to use components you do not need. High-level is stated as: you should not have to worry about the low-level details, but it will not stop you if you really want to dive into them.
The other two are documentation and safety. Documentation is a commitment to clear and detailed API docs, compiled for released versions on one host and for the branch on another. Safety is attributed to the language rather than to the project: memory-safe and reliable, thanks to Rust.
Released versions and the branch are documented separately, and the branch build turns on a feature named test_all_features
Documentation is published twice, which is the right call for a library and creates two kinds of link rot.
Compiled documentation for released versions goes to the standard crate documentation host. The branch gets its own site. A reader who follows a link into the branch documentation is reading code that may not be released, and a reader who follows a released-version link is reading code that may be fifteen months behind the branch.
The manifest configures how the released documentation is built, and the configuration is unusual in one respect. It asks the documentation host to enable a feature literally named `test_all_features`, plus a documentation-only feature on the seat backend, and it passes a custom configuration flag to the documentation tool.
So there is a public cargo feature whose name announces that it enables every feature, and it is turned on by the documentation build. That is a reasonable way to make sure the published docs cover the whole surface, and it also means the feature is part of the public interface whether or not anyone intended it to be.
An AI contribution policy sits beside the developer certificate of origin
The contributing section has two requirements, and the second one is new enough to be worth reading closely.
The first is the standard one. To submit code you must agree to the project's Developer Certificate of Origin, and the general notes are in a separate file at the root.
The second is a single sentence with a document behind it: if you are used to using generative tools, please read the project's policy before starting.
That file is at the root of the repository, alongside the contribution guide, the certificate, the changelog and the getting started guide. Requiring the read before starting rather than after submitting is the detail worth noting, since a policy that is only consulted at review time cannot influence the code that was already written.
The project's own contact channel is a Matrix room, and the README also links a chat server for those who do not use Matrix.
Two C files sit at the root of a Rust workspace
The top-level listing is mostly Rust, with two exceptions that are neither Rust nor in a subdirectory.
Both are C files at the root, and both are named after a graphics buffer object operation: one creates a buffer object with modifiers, the other gets a file descriptor for a plane. They read as small test programs for the graphics buffer management path rather than as part of the library.
Everything else at the root is either configuration or documentation: the crate manifest, a build script, formatting and lint configuration for the Rust toolchain, a typo checker configuration, a documentation index, and the five prose files already mentioned.
Then there are the directories. Three compositors or test harnesses live as workspace members alongside a DRM helper crate and a directory of test clients, and there are five example programs, one of them a Vulkan example and one a buffer test, which tells you that the graphics backends are meant to be exercised directly rather than only through a compositor.
A separate shell script and a workspace member whose name matches it handle the conformance testing side, and both are part of the workspace rather than a side project.
The optional dependencies are the feature matrix, and one pins a libinput level
The manifest's dependency list is the clearest description of what a compositor actually needs, because almost everything in it is optional.
Unconditionally required are the pieces every compositor uses: an event loop, a logging facade, an error handling crate, the standard system call wrapper with a long feature list covering processes, shared memory, memory mapping, file descriptors and time, plus small utilities for indexed maps, errno values, bit flags, randomness and downcasting.
Everything platform-facing is behind a flag. The Vulkan bindings, the Direct Rendering Manager stack in three layers, the graphics buffer manager, the input stack, the seat library, the OpenGL loader, downcasting and scoped guards are all optional.
Two of those carry extra constraints. The graphics buffer manager is pulled in with its default features switched off and one feature enabled instead, which is how it stays buildable against a minimal DRM setup. The input stack is likewise pulled in without defaults and with a feature naming a specific libinput version level, so the input backend's floor is written into the manifest rather than left to the system.
Twelve compositors are listed as users, and the external-protocol claim carries a comment
The longest list in the README is not a feature list but a user list: twelve projects described in one line each as running on this library.
They range from a full desktop environment and a scrollable tiling compositor to a nested compositor for embedding applications inside an editor, a Wayland version of a screen-sharing tool, an Android application that runs a graphical Linux environment, and one inspired by a window manager from another toolkit. Several are explicitly work in progress.
That list is the best available answer to how mature the library is, and it is worth reading as a list of projects rather than as an endorsement: several of the entries are described as early work, and one of the twelve is itself described with promotional language.
The protocol-support claim is narrower and carries a footnote. It supports the core protocols, the official extensions, and some external extensions, naming the set maintained for wlroots and the one from KDE. The word some is not accidental, and an HTML comment left in the file points at a pull request discussion and an issue where that wording was argued over.
Editorial conclusion
Use Smithay if you are writing a Wayland compositor in Rust and want protocol handling, an event loop and input plumbing already solved, rather than a framework to adopt. What the project offers is deliberately not a framework, and it says so: you are never required to use any component, and the high-level claim is that you should not have to touch the low-level parts unless you want to. Three things to check before you start. How much of the system stack you are signing up for, because the dependency list is mostly optional and each one maps to a system library, with the input backend additionally pinning a minimum libinput feature level. What your documentation will read, because released versions and the branch are documented separately, so a link into the branch docs will rot. And the contribution rules, which include signing a developer certificate of origin and, if you use generative tools, reading the project's AI policy at the root before you open a pull request.
Frequently asked questions
What are some popular Wayland compositors?
The project lists twelve compositors built with it: Cosmic, described as a next-generation desktop environment; Catacomb, a mobile compositor; emskin, a nested compositor for embedding apps inside Emacs; MagmaWM; Niri, a scrollable tiling compositor; Strata; Pinnacle, a work in progress inspired by AwesomeWM; Sudbury, designed for ChromeOS; wprs, a Wayland counterpart to xpra written in Rust; Local Desktop, an Android app for running a graphical Linux environment; Otto, a gesture-driven stacking compositor; DriftWM, a trackpad-first infinite canvas compositor; and Denial, a stacking and tiling compositor with a Flutter shell.
What is Smithay, and what is it not?
It is a library of building blocks for writing Wayland compositors in Rust, MIT licensed. It is explicitly not a full-blown compositor and not a framework: the README says you are never required to use components you do not need, and that you should not have to deal with low-level details unless you want to. It supports the core Wayland protocols, the official extensions, and some external extensions from the wlroots and KDE protocol sets.
Which system libraries does Smithay need?
Ten are listed, with the note that the list depends on which features you enable: libwayland, libxkbcommon, libudev, libinput, libgbm, libseat, xwayland, libEGL, libpixman and libdisplay-info. The manifest matches this with optional dependencies, and the input dependency additionally pins a feature naming a specific libinput version level.
What Rust version does Smithay require?
The crate manifest declares a minimum supported Rust version of 1.87 and uses the 2024 edition. The newest release is v0.7.0, published 2025-06-24, while the last push to the default branch master is dated 2026-09-30, so the branch carries about fifteen months of work beyond the released version.
What is Anvil and what else ships with Smithay?
Anvil is the project's own sample compositor, documented in its own README inside the repository. The workspace also contains a second small compositor, a conformance-testing member with a matching shell script, a directory of test clients, and a DRM helper crate. Five example programs are provided, among them a minimal compositor, a seat example, a Vulkan example and a buffer test.
Can I contribute to Smithay using AI tools?
Contributors must agree to the project's Developer Certificate of Origin, and the README adds that anyone who uses generative tools should read the project's policy file, at the root of the repository, before starting. The project's main chatroom is a Matrix room named after the project.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/smithay-smithay)Star history chart for your README
[](https://hysenlabs.com/projects/smithay-smithay)Was this useful?