Files
Senbei/senbei-gui/Cargo.toml
T
Momoko-Ayase 5121ec8ee3 feat(gui): add a native desktop front end
senbei-gui is an egui window over the same engine the CLI runs, in
process. Files, folders, and Android packages go into an inputs list,
where unpack, dry run, and inspect run them with live progress, a
per-input log, and cancel between inputs. The detail pane shows what a
run found: recognition, routes, stages, validation, and digests; the
research evidence an inspection collects; a hex view of the original,
spliced, or restored bytes with regions and RVA navigation; a header and
section compare of input and restored image; and package entries.

Restored bytes from an inspection or dry run stay in memory for the
session, up to a per-input cap. Settings cover the display language, the
output folder, the log file, worker threads, folder probing, Android
limits, and that cap. The window shows the legal notice on first start.

The window speaks the five languages the CLI does, from a catalog
generated from the approved mockup wording. Its UI layer builds for
wasm32 behind a Backend trait; the native backend runs jobs on worker
threads. The crate is a workspace member but not a default one, so a
plain cargo build still builds only the CLI.
2026-11-10 02:09:21 +08:00

36 lines
880 B
TOML

[package]
name = "senbei-gui"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
description = "Native desktop front end for Senbei"
[[bin]]
name = "senbei-gui"
path = "src/main.rs"
[dependencies]
anyhow.workspace = true
egui.workspace = true
egui_extras.workspace = true
senbei-engine.workspace = true
senbei-i18n.workspace = true
senbei-io.workspace = true
senbei-metadata.workspace = true
serde.workspace = true
serde_json.workspace = true
# The native shell: window, renderer, file dialogs, system fonts. The UI layer
# above it only uses egui, so it also builds for wasm32.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
eframe.workspace = true
egui_system_font_provider.workspace = true
fontique.workspace = true
png.workspace = true
rfd.workspace = true
tempfile.workspace = true
[lints]
workspace = true