Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/facett

facett-binview/Cargo.toml

[package]
name = "facett-binview"
description = "facett — the shared BINARY-ANALYSIS pane: one robot-testable egui `Facet` that renders a built artifact's size + hardening story (a per-crate/-symbol BLOAT TREEMAP, CHECKSEC badges for RELRO/PIE/NX/canary/stripped, a before→after DIFF WATERFALL, and a size SPARKLINE) so dwarves/nornir mount ONE pane, not per-app twins. WAREHOUSE-AGNOSTIC + presentational: facett carries NO nornir/warehouse dep; the HOST implements the `BinaryDataSeam` (feeding rows from binary_facts/section_sizes/symbol_sizes/artifact_diff) and the pane only renders them — mirroring how the Release tab takes a ReleaseConvergence and the auth pane takes login state."
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
# Development notes, agent instructions and machine-local tooling stay in the
# repository; they are not part of the published crate.
exclude = [
    ".nornir/",
]

[features]
default = []
# `testmatrix` — turn the pane's render/drive self-checks into real nornir
# test-matrix rows via `functional_status`. Compiled OUT of the default build (no
# nornir dep by default), a `#[inline]` no-op otherwise. Same idiom as
# facett-auth-ui / facett-releaseview: the optional `nornir-testmatrix` edge only
# exists behind this feature, so a release build carries no emit and no dep.
testmatrix = ["facett-core/testmatrix", "dep:nornir-testmatrix", "nornir-testmatrix/testmatrix"]

[dependencies]
# The Facet contract (title/ui/state_json/update_json), the OKLCH colour authoring
# space (reused for the per-crate treemap hues — no twinned colour maths), and the
# theme. facett stays warehouse-agnostic: this is the ONLY facett edge.
facett-core = { path = "../facett-core", version = "0.3.0" }
egui = { workspace = true }
serde = { version = "1", features = ["derive"] }
serde_json = { workspace = true }
# L4: functional-status emitter. OPTIONAL + behind the `testmatrix` feature so a
# release build carries no dependency edge and strips every emit call.
nornir-testmatrix = { version = "0.2", default-features = false, optional = true }

[dev-dependencies]
# CPU render-proof (AccessKit tree) via the kittest harness — the robot scenario
# renders the real pane body over a stub seam (no wgpu needed; every layer is a
# pure egui-painter draw, headless-snapshottable anywhere).
egui_kittest = { version = "0.36" }