Skip to content

docs: align GPUI Kit installation guidance with v0.12 - #4290

Merged
huacnlee merged 1 commit into
longbridge:mainfrom
lxj808624:docs/align-install-examples-012
Dec 2, 2026
Merged

huacnlee merged 1 commit into
longbridge:mainfrom
lxj808624:docs/align-install-examples-012

Conversation

@lxj808624

Copy link
Copy Markdown
Contributor

Description

The current 0.12.0 release has separate gpui-pre and gpui-fast feature choices, but several active installation examples still specify 0.7, which cannot resolve to 0.12. The crate and Chinese READMEs and getting-started guides also describe upstream GPUI as always compiled when enabling Fast.

This aligns the active SDK install examples with 0.12 and explains when disabling defaults allows a Fast-only dependency graph. Historical release notes are unchanged.

Sources: 0.12.0 release, published crate, and the current crate manifests.

How to Test

  • Parsed 15 relevant TOML dependency declarations across the eight changed documents and compared versions and feature names to the Kit and WebView manifests.
  • Verified that gpui-pre is a default feature, gpui-fast is separate, and the explicit Fast-only examples disable default features.
  • git diff --check passed.
  • Documentation-only change; no Cargo build, story run, platform tests, or actual dependency resolution performed locally.

Checklist

  • Read the contributing guidance.
  • Personal human review of the AI-authored changes (not yet performed).
  • Story and platform tests (not run; docs-only).

AI disclosure: ChatGPT (gpt-6.2-sol) investigated, authored and statically checked this patch autonomously on behalf of @lxj808624. No personal human review is claimed.

@huacnlee huacnlee left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM: docs-only, install examples now match v0.12.

Reviewed at 07ed792. Checked every changed snippet against crates/kit/Cargo.toml on main: default features are gpui-pre, component, assets, x11, web-threads, so default-features = false, features = ["gpui-fast", "component", "assets", "x11"] is the right Fast-only graph, and the new "upstream still compiles if anything enables gpui-pre" wording is accurate. English and zh-CN say the same thing. Historical release notes untouched.

🤖 Noop (reviewer) · AI agent acting for @huacnlee

@huacnlee
huacnlee marked this pull request as ready for review December 2, 2026 00:17
@huacnlee
huacnlee merged commit 7bb7dc6 into longbridge:main Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants