mirror of
https://github.com/Momoko-Ayase/Senbei.git
synced 2026-11-24 02:52:47 +08:00
Engine errors, integrity findings, and driver outcomes carry message codes from senbei-i18n, with their English unchanged, so reports, logs, and --json stay byte-identical. Verbose pipeline steps go through a progress sink instead of println!, and an error chain is translated through its first coded cause. The CLI takes the display language from SENBEI_LANG, or else from the system's preferred UI language, and translates console text: usage errors, help, per-file lines, the run summary, and the summary lines of the inspect report. Structural research evidence and saved logs stay English. When a translation leaves out context the English chain has, the English follows on a muted line. A front end can attach a RunObserver and a CancelToken to the Collector to follow a run input by input, receive verbose steps as events, and stop before the next input. A cancelled report says so. The CLI never cancels, so its JSON is unchanged.
34 lines
836 B
TOML
34 lines
836 B
TOML
[package]
|
|
name = "senbei-io"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "Filesystem, scanning, logging, and CLI orchestration for Senbei"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
senbei-crypto.workspace = true
|
|
indicatif.workspace = true
|
|
memmap2.workspace = true
|
|
owo-colors.workspace = true
|
|
senbei-engine.workspace = true
|
|
senbei-i18n.workspace = true
|
|
senbei-elf.workspace = true
|
|
senbei-pe.workspace = true
|
|
senbei-metadata.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
sha2.workspace = true
|
|
tempfile.workspace = true
|
|
walkdir.workspace = true
|
|
zip.workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows.workspace = true
|
|
|
|
[target.'cfg(all(not(windows), not(target_arch = "wasm32")))'.dependencies]
|
|
libc.workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|