1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-03 15:20:05 -04:00

Move the inspector to a separate repo

This commit is contained in:
lucasmerlin
2026-04-22 12:26:43 +02:00
parent 92b127c688
commit 0cefd89141
8 changed files with 22 additions and 1256 deletions

View File

@@ -29,8 +29,13 @@ snapshot = ["dep:dify", "dep:image", "dep:open", "dep:tempfile", "image/png"]
## Record a test session as an animated GIF or PNG sequence.
recording = ["dep:image", "image/gif", "image/png"]
## Expose the [`inspector_api`] wire protocol used to talk to the external
## `kittest_inspector` binary. Pull this in if you're building a tool that consumes
## the same stream — the binary itself enables this transitively.
inspector_api = ["dep:bincode", "egui/serde"]
## Stream frames + accesskit tree to a `kittest_inspector` window for live debugging.
inspector = ["dep:image", "dep:kittest_inspector", "dep:backtrace"]
inspector = ["inspector_api", "dep:image", "dep:backtrace"]
## Allows testing eframe::App
eframe = ["dep:eframe", "eframe/accesskit"]
@@ -57,7 +62,7 @@ wgpu = { workspace = true, features = ["metal", "dx12", "vulkan", "gles"], optio
dify = { workspace = true, optional = true }
# inspector dependencies
kittest_inspector = { workspace = true, default-features = false, optional = true }
bincode = { workspace = true, optional = true }
backtrace = { workspace = true, optional = true }
# Enable this when generating docs.