git.lucas.co / cce-files
file manager
git clone https://git.lucas.co/cce-files.git

commit30f525dc07da7fcc6cabf23826231cf4695d5e59
parentf3ad385010
authorLucas Galante <[email protected]>
date2026-08-13 23:03
build: drop the wgpu and bytemuck declarations this crate never used

Both are leftovers from the retired wgpu rendering path; nothing under
src/ names either one. cce-ui renders with raw Vulkan via ash now, and
this crate declares no graphics dependency of its own — it only ever
hands display lists to the toolkit.

This is manifest hygiene, not a build-time saving: both crates still
compile as transitive dependencies (wgpu via glyphon, bytemuck via
cce-ui/image among others). What it removes is the false claim that
this crate talks to a GPU API directly.

glyphon stays — it is a real dependency, naming glyphon::FontSystem for
the field that holds cce_ui::create_font_system()'s return, and cce-ui
does not re-export it.

Also fixes the CLAUDE.md opener, which still described the app as
rendering with wgpu.

Cargo.lock deliberately untouched: it is already stale for unrelated
reasons (248 packages vs the 435 a standalone resolution now produces),
and a regenerated one could not be verified here — it wants packages
absent from the local registry cache. Cargo re-resolves it on the next
standalone build either way.

 CLAUDE.md  | 2 +-
 Cargo.toml | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/CLAUDE.md b/CLAUDE.md
index 2f71132..434ef5a 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
 
 ## What this is
 
-`cce-files` is a Wayland-native file manager, one app in the larger **CCE** desktop-environment ecosystem (the sibling `cce-*` crates under `../`). It renders directly with wgpu + glyphon on a Wayland surface — there is no GTK/Qt/web layer. All GUI primitives come from the sibling crate **`cce-ui`** (`../cce-ui`, a path dependency), which owns the windowing/event loop, the widget toolkit, layout, fonts, and colors.
+`cce-files` is a Wayland-native file manager, one app in the larger **CCE** desktop-environment ecosystem (the sibling `cce-*` crates under `../`). It renders directly on a Wayland surface with raw Vulkan (via **ash**), with glyphon/cosmic-text for text shaping — there is no GTK/Qt/web layer. All GUI primitives come from the sibling crate **`cce-ui`** (`../cce-ui`, a path dependency), which owns the windowing/event loop, the widget toolkit, layout, fonts, and colors; the rendering itself lives in `cce-ui/src/vk/` (`VkRenderer`), so this crate declares no graphics dependency of its own.
 
 ## Build / run / test
 
diff --git a/Cargo.toml b/Cargo.toml
index b50d3fa..42757f9 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,8 +6,6 @@ edition = "2024"
 [dependencies]
 cce-ui = { path = "../cce-ui" }
 wayland-client = { version = "0.31", features = ["system"] }
-wgpu = "24"
-bytemuck = { version = "1", features = ["derive"] }
 glyphon = "0.8"
 calloop = "0.13.0"
 chrono = "0.4.44"