Skip to main content
Back

Zed Breaks GPUI Out of Its Editor Monorepo Into a Standalone Rust Package

Zed is extracting GPUI from its monorepo into its own GitHub repository and cutting a fresh crates.io release after a year-long gap.

Repo, Full Access
  • Zed is moving GPUI out of its editor monorepo into a standalone GitHub repository.
  • A new crates.io release is coming in the following weeks.
  • The last official crate, 0.2.2, has been frozen since October 2025, roughly a year behind in-tree code.
  • Community filled the gap with forks like gpui-archipelago, gpui-fast, gpui-x, zui, and realab/gpui-standalone.
  • Zed is soliciting feedback from existing fork maintainers and downstream users before the migration.
  • GPUI remains pre-1.0 and under active development alongside the Zed editor itself.

Zed plans to move GPUI, the GPU-accelerated Rust UI framework behind its editor, into a dedicated repository and publish an updated package to crates.io in the coming weeks. The framework currently develops inside the editor monorepo while its public package trails the in-tree code. Existing dependency pins will continue to resolve as before until the new release lands.

GPUI handles Zed’s windows, rendering, text layout, input, and platform integration. Its source has lived among the editor’s application code and internal crates, forcing Git users to fetch the full repository and leaving package users on an older snapshot. Zed is seeking feedback from fork maintainers and downstream developers before finalizing the standalone workspace.

The public package fell behind

The official gpui package has lagged the source used by Zed. Version 0.2.2, published in October 2025, remains the latest entry in the lib.rs history, while the version list contains only a handful of releases. The in-tree framework has advanced through dozens of Zed releases since that snapshot.

A crates.io version constraint therefore selects older code, while a Git dependency follows a specific commit in the moving Zed monorepo. Developers seeking newer APIs have had to pin the editor repository, extract the required crates, or rely on an unofficial distribution.

One framework spans many crates

GPUI is a Cargo workspace rather than a single self-contained crate. Its dependency closure includes every package Cargo must resolve to build the framework, including dependencies of dependencies. The ownership page shows the breadth of that workspace.

Layer Packages and targets
Framework core gpui, gpui_platform
Macros and data structures gpui-macros, gpui_collections, gpui_derive_refineable, gpui_sum_tree
Services and tooling gpui_http_client, gpui_media, gpui_perf, gpui_semantic_version
Platform support macOS, Linux, Windows, iOS, and web backends

A usable standalone repository must carry that dependency graph in a coherent Cargo workspace. Extracting the full set lets developers fetch, inspect, build, and vendor GPUI without cloning the editor and manually reconstructing internal paths.

Forks filled the release gap

Unofficial distributors emerged to package newer GPUI code or maintain specialized patches:

  • gpui-archipelago, also called GPUI-lago, automatically republishes each Zed tag under gpui-unofficial, matching Zed’s version numbers.
  • longbridge/gpui-fast adds incremental rendering and native window composition and publishes its fork on crates.io.
  • beyondlex/gpui-x packages a standalone workspace with additional path-rendering performance patches.
  • zeronsh/zui maintains a workspace fork that avoids fetching the full Zed repository.
  • realab/gpui-standalone provides date-tagged mirrors of selected crates, including gpui and gpui_platform.

Each fork carries its own package names, patches, version scheme, and release policy. Moving upstream code between them can therefore require API changes and a fresh dependency audit.

A cleaner Cargo path

Projects using a standalone mirror may currently maintain Git overrides for several related crates.

Example mirror override
[patch."https://github.com/zed-industries/zed"]
gpui = { git = "https://github.com/realab/gpui-standalone.git", branch = "main" }
gpui_macros = { git = "https://github.com/realab/gpui-standalone.git", branch = "main" }
Expected dependency shape after publication
[dependencies]
gpui = "<new-version>"

Most consumers can remove their Git patches once Zed publishes compatible versions of the required crates. The exact version number, feature set, and coordinated package list remain unannounced.

A dedicated repository can also separate GPUI issues, pull requests, release automation, and continuous integration from editor-specific work. That separation gives framework contributors a narrower checkout and maintainers a clearer review queue, although Zed has yet to define the resulting release cadence.

Checks to run before switching

  1. Confirm the current source. Inspect Cargo.lock and cargo tree to identify every GPUI package, version, Git commit, and mirror in the build.
  2. Replace related overrides together. Resolving GPUI crates from multiple sources can load duplicate crate instances, making otherwise identical Rust types incompatible.
  3. Review API drift. The fresh package may include substantial changes from version 0.2.2, especially around rendering, platform integration, and macros.
  4. Test every supported target. Run CI for each operating system and web target used by the application because backend behavior and feature flags can differ.
  5. Commit the new lockfile. Application repositories should preserve the resolved package set after migration, particularly while GPUI remains pre-1.0.

Where GPUI fits

GPUI remains aimed at applications that need a GPU-backed interface, native platform integration, and Rust throughout the UI stack. Typical uses include:

  • Desktop tools with custom rendering or dense interactive interfaces.
  • Editors and IDE-style applications with heavy text layout, scrolling, and virtualization.
  • Cross-platform products targeting macOS, Linux, Windows, iOS, or the web from one Rust codebase.

Teams requiring stable APIs and a large ready-made component catalog must account for GPUI’s pre-1.0 status. Its APIs continue to evolve alongside Zed, and a new repository leaves that maturity level unchanged.

The release policy remains open

  • Will GPUI releases track every Zed tag or follow an independent schedule?
  • Will the workspace crates publish together under coordinated versions?
  • What compatibility and support policy will apply before 1.0?
  • Will Zed publish migration guidance for Git dependencies and unofficial packages?
  • How much repository history will move with the extracted workspace?

Zed is asking downstream users and fork maintainers to help shape those decisions. A maintained first-party repository can eliminate full-editor clones and provide an official release path for the framework. Unofficial distributions may remain useful where they offer specialized patches or a faster cadence.