facett-syschart 0.1.13

facett — system-map chart: free-positioned clickable nodes + edges with a per-node badge and an inline expandable detail panel
Documentation
[package]
name = "facett-syschart"
description = "facett — system-map chart: free-positioned clickable nodes + edges with a per-node badge and an inline expandable detail panel"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true

[features]
# L4: functional-status emitter passthrough (see facett-core). No-op in release.
testmatrix = ["facett-core/testmatrix"]

[dependencies]
facett-core = { path = "../facett-core", version = "0.1" }
# `serde` feature carries `Color32`'s (De)serialize so the `SysChartModel` (FC-3)
# round-trips through serde.
egui = { workspace = true, features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = { workspace = true }

[dev-dependencies]
# The reusable native+wasm demo HOST — `syschart_panel` mounts the constellation map
# as a Codeberg-Pages web demo and a native window from one source (facett-demo/README).
facett-wasm-demo = { path = "../facett-wasm-demo"}

# Native-only test/host deps: the GPU framebuffer harness (`egui_kittest`'s `wgpu`
# feature pulls `egui-wgpu`, which does NOT compile for wasm32) + the PNG writer +
# the native eframe the `syschart_panel` host names. Target-gated so the wasm
# `--example` build (which compiles dev-deps) never reaches egui-wgpu.
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
eframe = { version = "0.34", default-features = false, features = ["default_fonts", "glow", "wayland", "x11"] }
# `wgpu` adds the GPU framebuffer backend for the call-chain matrix's robot pixel
# leg (non-blank/confinement + the final-picture PNG blob); `image` writes the PNG.
egui_kittest = { version = "0.34", features = ["wgpu", "snapshot"] }
image = { version = "0.25", default-features = false, features = ["png"] }

# `syschart_panel` needs `wasm-bindgen` for its `#[wasm_bindgen(start)]` web entry.
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen = "0.2"

[[example]]
name = "syschart_panel"
path = "examples/syschart_panel.rs"