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

nordisk/facett

facett-menu/Cargo.toml

[package]
name = "facett-menu"
description = "facett — uniform overlay menu system (theme-aware right-click context menus, a fuzzy command palette overlay, and dropdown menu bars over one headless-addressable Command set)"
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 menu surfaces' `functional_status(component, check, ok,
# detail)` self-reports into real nornir test-matrix rows. Compiled OUT of the
# default build (no nornir dep by default); a `#[inline]` no-op otherwise.
testmatrix = ["dep:nornir-testmatrix", "nornir-testmatrix/testmatrix"]

[dependencies]
facett-core = { path = "../facett-core", version = "0.3.0" }
egui = { workspace = true }
serde = { version = "1", features = ["derive"] }
serde_json = { workspace = true }

# `testmatrix` feature only — the functional-status emitter. Optional + off by
# default so the default build pulls nothing. Sibling path dep (all repos live
# under one root), mirroring the reference wiring in korp-collectors.
nornir-testmatrix = { version = "0.2", default-features = false, optional = true }

[dev-dependencies]
# `wgpu_no_default_features`, NOT `wgpu` (LAW 4 / GFX_V2 Decision 0). eframe's plain
# `wgpu` feature expands to `egui-wgpu/default` -> `wgpu/default` -> `wgpu-hal/default`
# -> **glow**, the GL backend this constellation dropped. Cargo features are additive
# and unify across the whole graph, so one DEV dependency spelling it this way turns the
# GL backend on for every crate here, normal edges included. Backends come from the
# workspace `wgpu` entry.
eframe = { version = "0.36", default-features = false, features = ["default_fonts", "wgpu_no_default_features", "wayland", "x11"] }

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